- 0.67.0 (latest)
- 0.65.0
- 0.64.0
- 0.63.0
- 0.62.0
- 0.61.0
- 0.59.0
- 0.57.0
- 0.56.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.0
- 0.1.0
public static final class SupportedDatabaseFlag.Builder extends GeneratedMessageV3.Builder<SupportedDatabaseFlag.Builder> implements SupportedDatabaseFlagOrBuilderSupportedDatabaseFlag 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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > SupportedDatabaseFlag.BuilderImplements
SupportedDatabaseFlagOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description | 
| Descriptor | |
Methods
addAllSupportedDbVersions(Iterable<? extends DatabaseVersion> values)
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;
| Parameter | |
|---|---|
| Name | Description | 
| values | Iterable<? extends com.google.cloud.alloydb.v1beta.DatabaseVersion>The supportedDbVersions to add. | 
| Returns | |
|---|---|
| Type | Description | 
| SupportedDatabaseFlag.Builder | This builder for chaining. | 
addAllSupportedDbVersionsValue(Iterable<Integer> values)
public SupportedDatabaseFlag.Builder addAllSupportedDbVersionsValue(Iterable<Integer> values)Major database engine versions for which this flag is supported.
 repeated .google.cloud.alloydb.v1beta.DatabaseVersion supported_db_versions = 5;
| Parameter | |
|---|---|
| Name | Description | 
| values | Iterable<Integer>The enum numeric values on the wire for supportedDbVersions to add. | 
| Returns | |
|---|---|
| Type | Description | 
| SupportedDatabaseFlag.Builder | This builder for chaining. | 
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SupportedDatabaseFlag.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| SupportedDatabaseFlag.Builder | |
addSupportedDbVersions(DatabaseVersion value)
public SupportedDatabaseFlag.Builder addSupportedDbVersions(DatabaseVersion value)Major database engine versions for which this flag is supported.
 repeated .google.cloud.alloydb.v1beta.DatabaseVersion supported_db_versions = 5;
| Parameter | |
|---|---|
| Name | Description | 
| value | DatabaseVersionThe supportedDbVersions to add. | 
| Returns | |
|---|---|
| Type | Description | 
| SupportedDatabaseFlag.Builder | This builder for chaining. | 
addSupportedDbVersionsValue(int value)
public SupportedDatabaseFlag.Builder addSupportedDbVersionsValue(int value)Major database engine versions for which this flag is supported.
 repeated .google.cloud.alloydb.v1beta.DatabaseVersion supported_db_versions = 5;
| Parameter | |
|---|---|
| Name | Description | 
| value | intThe enum numeric value on the wire for supportedDbVersions to add. | 
| Returns | |
|---|---|
| Type | Description | 
| SupportedDatabaseFlag.Builder | This builder for chaining. | 
build()
public SupportedDatabaseFlag build()| Returns | |
|---|---|
| Type | Description | 
| SupportedDatabaseFlag | |
buildPartial()
public SupportedDatabaseFlag buildPartial()| Returns | |
|---|---|
| Type | Description | 
| SupportedDatabaseFlag | |
clear()
public SupportedDatabaseFlag.Builder clear()| Returns | |
|---|---|
| Type | Description | 
| SupportedDatabaseFlag.Builder | |
clearAcceptsMultipleValues()
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;
| Returns | |
|---|---|
| Type | Description | 
| SupportedDatabaseFlag.Builder | This builder for chaining. | 
clearField(Descriptors.FieldDescriptor field)
public SupportedDatabaseFlag.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| Returns | |
|---|---|
| Type | Description | 
| SupportedDatabaseFlag.Builder | |
clearFlagName()
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;
| Returns | |
|---|---|
| Type | Description | 
| SupportedDatabaseFlag.Builder | This builder for chaining. | 
clearIntegerRestrictions()
public SupportedDatabaseFlag.Builder clearIntegerRestrictions()Restriction on INTEGER type value.
 
 .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8;
 
| Returns | |
|---|---|
| Type | Description | 
| SupportedDatabaseFlag.Builder | |
clearName()
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;
| Returns | |
|---|---|
| Type | Description | 
| SupportedDatabaseFlag.Builder | This builder for chaining. | 
clearOneof(Descriptors.OneofDescriptor oneof)
public SupportedDatabaseFlag.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description | 
| oneof | OneofDescriptor | 
| Returns | |
|---|---|
| Type | Description | 
| SupportedDatabaseFlag.Builder | |
clearRecommendedIntegerValue()
public SupportedDatabaseFlag.Builder clearRecommendedIntegerValue()The recommended value for an INTEGER flag.
 .google.protobuf.Int64Value recommended_integer_value = 11;
| Returns | |
|---|---|
| Type | Description | 
| SupportedDatabaseFlag.Builder | |
clearRecommendedStringValue()
public SupportedDatabaseFlag.Builder clearRecommendedStringValue()The recommended value for a STRING flag.
 string recommended_string_value = 10;
| Returns | |
|---|---|
| Type | Description | 
| SupportedDatabaseFlag.Builder | This builder for chaining. | 
clearRecommendedValue()
public SupportedDatabaseFlag.Builder clearRecommendedValue()| Returns | |
|---|---|
| Type | Description | 
| SupportedDatabaseFlag.Builder | |
clearRequiresDbRestart()
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;
| Returns | |
|---|---|
| Type | Description | 
| SupportedDatabaseFlag.Builder | This builder for chaining. | 
clearRestrictions()
public SupportedDatabaseFlag.Builder clearRestrictions()| Returns | |
|---|---|
| Type | Description | 
| SupportedDatabaseFlag.Builder | |
clearScope()
public SupportedDatabaseFlag.Builder clearScope()The scope of the flag.
 .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.Scope scope = 9;
| Returns | |
|---|---|
| Type | Description | 
| SupportedDatabaseFlag.Builder | This builder for chaining. | 
clearStringRestrictions()
public SupportedDatabaseFlag.Builder clearStringRestrictions()Restriction on STRING type value.
 
 .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7;
 
| Returns | |
|---|---|
| Type | Description | 
| SupportedDatabaseFlag.Builder | |
clearSupportedDbVersions()
public SupportedDatabaseFlag.Builder clearSupportedDbVersions()Major database engine versions for which this flag is supported.
 repeated .google.cloud.alloydb.v1beta.DatabaseVersion supported_db_versions = 5;
| Returns | |
|---|---|
| Type | Description | 
| SupportedDatabaseFlag.Builder | This builder for chaining. | 
clearValueType()
public SupportedDatabaseFlag.Builder clearValueType().google.cloud.alloydb.v1beta.SupportedDatabaseFlag.ValueType value_type = 3;
| Returns | |
|---|---|
| Type | Description | 
| SupportedDatabaseFlag.Builder | This builder for chaining. | 
clone()
public SupportedDatabaseFlag.Builder clone()| Returns | |
|---|---|
| Type | Description | 
| SupportedDatabaseFlag.Builder | |
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;
| Returns | |
|---|---|
| Type | Description | 
| boolean | The acceptsMultipleValues. | 
getDefaultInstanceForType()
public SupportedDatabaseFlag getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description | 
| SupportedDatabaseFlag | |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description | 
| Descriptor | |
getFlagName()
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;
| Returns | |
|---|---|
| Type | Description | 
| String | The flagName. | 
getFlagNameBytes()
public 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 | |
|---|---|
| Type | Description | 
| ByteString | The bytes for flagName. | 
getIntegerRestrictions()
public SupportedDatabaseFlag.IntegerRestrictions getIntegerRestrictions()Restriction on INTEGER type value.
 
 .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8;
 
| Returns | |
|---|---|
| Type | Description | 
| SupportedDatabaseFlag.IntegerRestrictions | The integerRestrictions. | 
getIntegerRestrictionsBuilder()
public SupportedDatabaseFlag.IntegerRestrictions.Builder getIntegerRestrictionsBuilder()Restriction on INTEGER type value.
 
 .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8;
 
| Returns | |
|---|---|
| Type | Description | 
| SupportedDatabaseFlag.IntegerRestrictions.Builder | |
getIntegerRestrictionsOrBuilder()
public SupportedDatabaseFlag.IntegerRestrictionsOrBuilder getIntegerRestrictionsOrBuilder()Restriction on INTEGER type value.
 
 .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8;
 
| Returns | |
|---|---|
| Type | Description | 
| SupportedDatabaseFlag.IntegerRestrictionsOrBuilder | |
getName()
public 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 | |
|---|---|
| Type | Description | 
| String | The name. | 
getNameBytes()
public 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 | |
|---|---|
| Type | Description | 
| ByteString | The bytes for name. | 
getRecommendedIntegerValue()
public Int64Value getRecommendedIntegerValue()The recommended value for an INTEGER flag.
 .google.protobuf.Int64Value recommended_integer_value = 11;
| Returns | |
|---|---|
| Type | Description | 
| Int64Value | The recommendedIntegerValue. | 
getRecommendedIntegerValueBuilder()
public Int64Value.Builder getRecommendedIntegerValueBuilder()The recommended value for an INTEGER flag.
 .google.protobuf.Int64Value recommended_integer_value = 11;
| Returns | |
|---|---|
| Type | Description | 
| Builder | |
getRecommendedIntegerValueOrBuilder()
public Int64ValueOrBuilder getRecommendedIntegerValueOrBuilder()The recommended value for an INTEGER flag.
 .google.protobuf.Int64Value recommended_integer_value = 11;
| Returns | |
|---|---|
| Type | Description | 
| Int64ValueOrBuilder | |
getRecommendedStringValue()
public String getRecommendedStringValue()The recommended value for a STRING flag.
 string recommended_string_value = 10;
| Returns | |
|---|---|
| Type | Description | 
| String | The recommendedStringValue. | 
getRecommendedStringValueBytes()
public ByteString getRecommendedStringValueBytes()The recommended value for a STRING flag.
 string recommended_string_value = 10;
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for recommendedStringValue. | 
getRecommendedValueCase()
public SupportedDatabaseFlag.RecommendedValueCase getRecommendedValueCase()| Returns | |
|---|---|
| Type | Description | 
| SupportedDatabaseFlag.RecommendedValueCase | |
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;
| Returns | |
|---|---|
| Type | Description | 
| boolean | The requiresDbRestart. | 
getRestrictionsCase()
public SupportedDatabaseFlag.RestrictionsCase getRestrictionsCase()| Returns | |
|---|---|
| Type | Description | 
| SupportedDatabaseFlag.RestrictionsCase | |
getScope()
public SupportedDatabaseFlag.Scope getScope()The scope of the flag.
 .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.Scope scope = 9;
| Returns | |
|---|---|
| Type | Description | 
| SupportedDatabaseFlag.Scope | The scope. | 
getScopeValue()
public int getScopeValue()The scope of the flag.
 .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.Scope scope = 9;
| Returns | |
|---|---|
| Type | Description | 
| int | The enum numeric value on the wire for scope. | 
getStringRestrictions()
public SupportedDatabaseFlag.StringRestrictions getStringRestrictions()Restriction on STRING type value.
 
 .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7;
 
| Returns | |
|---|---|
| Type | Description | 
| SupportedDatabaseFlag.StringRestrictions | The stringRestrictions. | 
getStringRestrictionsBuilder()
public SupportedDatabaseFlag.StringRestrictions.Builder getStringRestrictionsBuilder()Restriction on STRING type value.
 
 .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7;
 
| Returns | |
|---|---|
| Type | Description | 
| SupportedDatabaseFlag.StringRestrictions.Builder | |
getStringRestrictionsOrBuilder()
public SupportedDatabaseFlag.StringRestrictionsOrBuilder getStringRestrictionsOrBuilder()Restriction on STRING type value.
 
 .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7;
 
| Returns | |
|---|---|
| Type | Description | 
| SupportedDatabaseFlag.StringRestrictionsOrBuilder | |
getSupportedDbVersions(int index)
public DatabaseVersion getSupportedDbVersions(int index)Major database engine versions for which this flag is supported.
 repeated .google.cloud.alloydb.v1beta.DatabaseVersion supported_db_versions = 5;
| Parameter | |
|---|---|
| Name | Description | 
| index | intThe index of the element to return. | 
| Returns | |
|---|---|
| Type | Description | 
| DatabaseVersion | The supportedDbVersions at the given index. | 
getSupportedDbVersionsCount()
public int getSupportedDbVersionsCount()Major database engine versions for which this flag is supported.
 repeated .google.cloud.alloydb.v1beta.DatabaseVersion supported_db_versions = 5;
| Returns | |
|---|---|
| Type | Description | 
| int | The count of supportedDbVersions. | 
getSupportedDbVersionsList()
public List<DatabaseVersion> getSupportedDbVersionsList()Major database engine versions for which this flag is supported.
 repeated .google.cloud.alloydb.v1beta.DatabaseVersion supported_db_versions = 5;
| Returns | |
|---|---|
| Type | Description | 
| List<DatabaseVersion> | A list containing the supportedDbVersions. | 
getSupportedDbVersionsValue(int index)
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;
| Parameter | |
|---|---|
| Name | Description | 
| index | intThe index of the value to return. | 
| Returns | |
|---|---|
| Type | Description | 
| int | The enum numeric value on the wire of supportedDbVersions at the given index. | 
getSupportedDbVersionsValueList()
public List<Integer> getSupportedDbVersionsValueList()Major database engine versions for which this flag is supported.
 repeated .google.cloud.alloydb.v1beta.DatabaseVersion supported_db_versions = 5;
| Returns | |
|---|---|
| Type | Description | 
| List<Integer> | A list containing the enum numeric values on the wire for supportedDbVersions. | 
getValueType()
public SupportedDatabaseFlag.ValueType getValueType().google.cloud.alloydb.v1beta.SupportedDatabaseFlag.ValueType value_type = 3;
| Returns | |
|---|---|
| Type | Description | 
| SupportedDatabaseFlag.ValueType | The valueType. | 
getValueTypeValue()
public int getValueTypeValue().google.cloud.alloydb.v1beta.SupportedDatabaseFlag.ValueType value_type = 3;
| Returns | |
|---|---|
| Type | Description | 
| int | The enum numeric value on the wire for valueType. | 
hasIntegerRestrictions()
public boolean hasIntegerRestrictions()Restriction on INTEGER type value.
 
 .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8;
 
| Returns | |
|---|---|
| Type | Description | 
| boolean | Whether the integerRestrictions field is set. | 
hasRecommendedIntegerValue()
public boolean hasRecommendedIntegerValue()The recommended value for an INTEGER flag.
 .google.protobuf.Int64Value recommended_integer_value = 11;
| Returns | |
|---|---|
| Type | Description | 
| boolean | Whether the recommendedIntegerValue field is set. | 
hasRecommendedStringValue()
public boolean hasRecommendedStringValue()The recommended value for a STRING flag.
 string recommended_string_value = 10;
| Returns | |
|---|---|
| Type | Description | 
| boolean | Whether the recommendedStringValue field is set. | 
hasStringRestrictions()
public boolean hasStringRestrictions()Restriction on STRING type value.
 
 .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7;
 
| Returns | |
|---|---|
| Type | Description | 
| boolean | Whether the stringRestrictions field is set. | 
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description | 
| FieldAccessorTable | |
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description | 
| boolean | |
mergeFrom(SupportedDatabaseFlag other)
public SupportedDatabaseFlag.Builder mergeFrom(SupportedDatabaseFlag other)| Parameter | |
|---|---|
| Name | Description | 
| other | SupportedDatabaseFlag | 
| Returns | |
|---|---|
| Type | Description | 
| SupportedDatabaseFlag.Builder | |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SupportedDatabaseFlag.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description | 
| input | CodedInputStream | 
| extensionRegistry | ExtensionRegistryLite | 
| Returns | |
|---|---|
| Type | Description | 
| SupportedDatabaseFlag.Builder | |
| Exceptions | |
|---|---|
| Type | Description | 
| IOException | |
mergeFrom(Message other)
public SupportedDatabaseFlag.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description | 
| other | Message | 
| Returns | |
|---|---|
| Type | Description | 
| SupportedDatabaseFlag.Builder | |
mergeIntegerRestrictions(SupportedDatabaseFlag.IntegerRestrictions value)
public SupportedDatabaseFlag.Builder mergeIntegerRestrictions(SupportedDatabaseFlag.IntegerRestrictions value)Restriction on INTEGER type value.
 
 .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8;
 
| Parameter | |
|---|---|
| Name | Description | 
| value | SupportedDatabaseFlag.IntegerRestrictions | 
| Returns | |
|---|---|
| Type | Description | 
| SupportedDatabaseFlag.Builder | |
mergeRecommendedIntegerValue(Int64Value value)
public SupportedDatabaseFlag.Builder mergeRecommendedIntegerValue(Int64Value value)The recommended value for an INTEGER flag.
 .google.protobuf.Int64Value recommended_integer_value = 11;
| Parameter | |
|---|---|
| Name | Description | 
| value | Int64Value | 
| Returns | |
|---|---|
| Type | Description | 
| SupportedDatabaseFlag.Builder | |
mergeStringRestrictions(SupportedDatabaseFlag.StringRestrictions value)
public SupportedDatabaseFlag.Builder mergeStringRestrictions(SupportedDatabaseFlag.StringRestrictions value)Restriction on STRING type value.
 
 .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7;
 
| Parameter | |
|---|---|
| Name | Description | 
| value | SupportedDatabaseFlag.StringRestrictions | 
| Returns | |
|---|---|
| Type | Description | 
| SupportedDatabaseFlag.Builder | |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SupportedDatabaseFlag.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
| unknownFields | UnknownFieldSet | 
| Returns | |
|---|---|
| Type | Description | 
| SupportedDatabaseFlag.Builder | |
setAcceptsMultipleValues(boolean value)
public 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;
| Parameter | |
|---|---|
| Name | Description | 
| value | booleanThe acceptsMultipleValues to set. | 
| Returns | |
|---|---|
| Type | Description | 
| SupportedDatabaseFlag.Builder | This builder for chaining. | 
setField(Descriptors.FieldDescriptor field, Object value)
public SupportedDatabaseFlag.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| SupportedDatabaseFlag.Builder | |
setFlagName(String value)
public 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;
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe flagName to set. | 
| Returns | |
|---|---|
| Type | Description | 
| SupportedDatabaseFlag.Builder | This builder for chaining. | 
setFlagNameBytes(ByteString value)
public SupportedDatabaseFlag.Builder setFlagNameBytes(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;
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for flagName to set. | 
| Returns | |
|---|---|
| Type | Description | 
| SupportedDatabaseFlag.Builder | This builder for chaining. | 
setIntegerRestrictions(SupportedDatabaseFlag.IntegerRestrictions value)
public SupportedDatabaseFlag.Builder setIntegerRestrictions(SupportedDatabaseFlag.IntegerRestrictions value)Restriction on INTEGER type value.
 
 .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8;
 
| Parameter | |
|---|---|
| Name | Description | 
| value | SupportedDatabaseFlag.IntegerRestrictions | 
| Returns | |
|---|---|
| Type | Description | 
| SupportedDatabaseFlag.Builder | |
setIntegerRestrictions(SupportedDatabaseFlag.IntegerRestrictions.Builder builderForValue)
public SupportedDatabaseFlag.Builder setIntegerRestrictions(SupportedDatabaseFlag.IntegerRestrictions.Builder builderForValue)Restriction on INTEGER type value.
 
 .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8;
 
| Parameter | |
|---|---|
| Name | Description | 
| builderForValue | SupportedDatabaseFlag.IntegerRestrictions.Builder | 
| Returns | |
|---|---|
| Type | Description | 
| SupportedDatabaseFlag.Builder | |
setName(String value)
public 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;
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe name to set. | 
| Returns | |
|---|---|
| Type | Description | 
| SupportedDatabaseFlag.Builder | This builder for chaining. | 
setNameBytes(ByteString value)
public SupportedDatabaseFlag.Builder setNameBytes(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;
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for name to set. | 
| Returns | |
|---|---|
| Type | Description | 
| SupportedDatabaseFlag.Builder | This builder for chaining. | 
setRecommendedIntegerValue(Int64Value value)
public SupportedDatabaseFlag.Builder setRecommendedIntegerValue(Int64Value value)The recommended value for an INTEGER flag.
 .google.protobuf.Int64Value recommended_integer_value = 11;
| Parameter | |
|---|---|
| Name | Description | 
| value | Int64Value | 
| Returns | |
|---|---|
| Type | Description | 
| SupportedDatabaseFlag.Builder | |
setRecommendedIntegerValue(Int64Value.Builder builderForValue)
public SupportedDatabaseFlag.Builder setRecommendedIntegerValue(Int64Value.Builder builderForValue)The recommended value for an INTEGER flag.
 .google.protobuf.Int64Value recommended_integer_value = 11;
| Parameter | |
|---|---|
| Name | Description | 
| builderForValue | Builder | 
| Returns | |
|---|---|
| Type | Description | 
| SupportedDatabaseFlag.Builder | |
setRecommendedStringValue(String value)
public SupportedDatabaseFlag.Builder setRecommendedStringValue(String value)The recommended value for a STRING flag.
 string recommended_string_value = 10;
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe recommendedStringValue to set. | 
| Returns | |
|---|---|
| Type | Description | 
| SupportedDatabaseFlag.Builder | This builder for chaining. | 
setRecommendedStringValueBytes(ByteString value)
public SupportedDatabaseFlag.Builder setRecommendedStringValueBytes(ByteString value)The recommended value for a STRING flag.
 string recommended_string_value = 10;
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for recommendedStringValue to set. | 
| Returns | |
|---|---|
| Type | Description | 
| SupportedDatabaseFlag.Builder | This builder for chaining. | 
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SupportedDatabaseFlag.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| index | int | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| SupportedDatabaseFlag.Builder | |
setRequiresDbRestart(boolean value)
public 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;
| Parameter | |
|---|---|
| Name | Description | 
| value | booleanThe requiresDbRestart to set. | 
| Returns | |
|---|---|
| Type | Description | 
| SupportedDatabaseFlag.Builder | This builder for chaining. | 
setScope(SupportedDatabaseFlag.Scope value)
public SupportedDatabaseFlag.Builder setScope(SupportedDatabaseFlag.Scope value)The scope of the flag.
 .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.Scope scope = 9;
| Parameter | |
|---|---|
| Name | Description | 
| value | SupportedDatabaseFlag.ScopeThe scope to set. | 
| Returns | |
|---|---|
| Type | Description | 
| SupportedDatabaseFlag.Builder | This builder for chaining. | 
setScopeValue(int value)
public SupportedDatabaseFlag.Builder setScopeValue(int value)The scope of the flag.
 .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.Scope scope = 9;
| Parameter | |
|---|---|
| Name | Description | 
| value | intThe enum numeric value on the wire for scope to set. | 
| Returns | |
|---|---|
| Type | Description | 
| SupportedDatabaseFlag.Builder | This builder for chaining. | 
setStringRestrictions(SupportedDatabaseFlag.StringRestrictions value)
public SupportedDatabaseFlag.Builder setStringRestrictions(SupportedDatabaseFlag.StringRestrictions value)Restriction on STRING type value.
 
 .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7;
 
| Parameter | |
|---|---|
| Name | Description | 
| value | SupportedDatabaseFlag.StringRestrictions | 
| Returns | |
|---|---|
| Type | Description | 
| SupportedDatabaseFlag.Builder | |
setStringRestrictions(SupportedDatabaseFlag.StringRestrictions.Builder builderForValue)
public SupportedDatabaseFlag.Builder setStringRestrictions(SupportedDatabaseFlag.StringRestrictions.Builder builderForValue)Restriction on STRING type value.
 
 .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7;
 
| Parameter | |
|---|---|
| Name | Description | 
| builderForValue | SupportedDatabaseFlag.StringRestrictions.Builder | 
| Returns | |
|---|---|
| Type | Description | 
| SupportedDatabaseFlag.Builder | |
setSupportedDbVersions(int index, DatabaseVersion value)
public SupportedDatabaseFlag.Builder setSupportedDbVersions(int index, DatabaseVersion value)Major database engine versions for which this flag is supported.
 repeated .google.cloud.alloydb.v1beta.DatabaseVersion supported_db_versions = 5;
| Parameters | |
|---|---|
| Name | Description | 
| index | intThe index to set the value at. | 
| value | DatabaseVersionThe supportedDbVersions to set. | 
| Returns | |
|---|---|
| Type | Description | 
| SupportedDatabaseFlag.Builder | This builder for chaining. | 
setSupportedDbVersionsValue(int index, int value)
public SupportedDatabaseFlag.Builder setSupportedDbVersionsValue(int index, int value)Major database engine versions for which this flag is supported.
 repeated .google.cloud.alloydb.v1beta.DatabaseVersion supported_db_versions = 5;
| Parameters | |
|---|---|
| Name | Description | 
| index | intThe index to set the value at. | 
| value | intThe enum numeric value on the wire for supportedDbVersions to set. | 
| Returns | |
|---|---|
| Type | Description | 
| SupportedDatabaseFlag.Builder | This builder for chaining. | 
setUnknownFields(UnknownFieldSet unknownFields)
public final SupportedDatabaseFlag.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
| unknownFields | UnknownFieldSet | 
| Returns | |
|---|---|
| Type | Description | 
| SupportedDatabaseFlag.Builder | |
setValueType(SupportedDatabaseFlag.ValueType value)
public SupportedDatabaseFlag.Builder setValueType(SupportedDatabaseFlag.ValueType value).google.cloud.alloydb.v1beta.SupportedDatabaseFlag.ValueType value_type = 3;
| Parameter | |
|---|---|
| Name | Description | 
| value | SupportedDatabaseFlag.ValueTypeThe valueType to set. | 
| Returns | |
|---|---|
| Type | Description | 
| SupportedDatabaseFlag.Builder | This builder for chaining. | 
setValueTypeValue(int value)
public SupportedDatabaseFlag.Builder setValueTypeValue(int value).google.cloud.alloydb.v1beta.SupportedDatabaseFlag.ValueType value_type = 3;
| Parameter | |
|---|---|
| Name | Description | 
| value | intThe enum numeric value on the wire for valueType to set. | 
| Returns | |
|---|---|
| Type | Description | 
| SupportedDatabaseFlag.Builder | This builder for chaining. |