public static final class DatabaseFlags.Builder extends GeneratedMessage.Builder<DatabaseFlags.Builder> implements DatabaseFlagsOrBuilderDatabase flags for Cloud SQL instances.
Protobuf type google.cloud.sql.v1.DatabaseFlags
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DatabaseFlags.BuilderImplements
DatabaseFlagsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public DatabaseFlags build()| Returns | |
|---|---|
| Type | Description |
DatabaseFlags |
|
buildPartial()
public DatabaseFlags buildPartial()| Returns | |
|---|---|
| Type | Description |
DatabaseFlags |
|
clear()
public DatabaseFlags.Builder clear()| Returns | |
|---|---|
| Type | Description |
DatabaseFlags.Builder |
|
clearName()
public DatabaseFlags.Builder clearName()The name of the flag. These flags are passed at instance startup, so include both server options and system variables. Flags are specified with underscores, not hyphens. For more information, see Configuring Database Flags in the Cloud SQL documentation.
string name = 1;
| Returns | |
|---|---|
| Type | Description |
DatabaseFlags.Builder |
This builder for chaining. |
clearValue()
public DatabaseFlags.Builder clearValue() The value of the flag. Boolean flags are set to on for true
and off for false. This field must be omitted if the flag
doesn't take a value.
string value = 2;
| Returns | |
|---|---|
| Type | Description |
DatabaseFlags.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public DatabaseFlags getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DatabaseFlags |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public String getName()The name of the flag. These flags are passed at instance startup, so include both server options and system variables. Flags are specified with underscores, not hyphens. For more information, see Configuring Database Flags in the Cloud SQL documentation.
string name = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()The name of the flag. These flags are passed at instance startup, so include both server options and system variables. Flags are specified with underscores, not hyphens. For more information, see Configuring Database Flags in the Cloud SQL documentation.
string name = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getValue()
public String getValue() The value of the flag. Boolean flags are set to on for true
and off for false. This field must be omitted if the flag
doesn't take a value.
string value = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The value. |
getValueBytes()
public ByteString getValueBytes() The value of the flag. Boolean flags are set to on for true
and off for false. This field must be omitted if the flag
doesn't take a value.
string value = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for value. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(DatabaseFlags other)
public DatabaseFlags.Builder mergeFrom(DatabaseFlags other)| Parameter | |
|---|---|
| Name | Description |
other |
DatabaseFlags |
| Returns | |
|---|---|
| Type | Description |
DatabaseFlags.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DatabaseFlags.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DatabaseFlags.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DatabaseFlags.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DatabaseFlags.Builder |
|
setName(String value)
public DatabaseFlags.Builder setName(String value)The name of the flag. These flags are passed at instance startup, so include both server options and system variables. Flags are specified with underscores, not hyphens. For more information, see Configuring Database Flags in the Cloud SQL documentation.
string name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
DatabaseFlags.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public DatabaseFlags.Builder setNameBytes(ByteString value)The name of the flag. These flags are passed at instance startup, so include both server options and system variables. Flags are specified with underscores, not hyphens. For more information, see Configuring Database Flags in the Cloud SQL documentation.
string name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
DatabaseFlags.Builder |
This builder for chaining. |
setValue(String value)
public DatabaseFlags.Builder setValue(String value) The value of the flag. Boolean flags are set to on for true
and off for false. This field must be omitted if the flag
doesn't take a value.
string value = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe value to set. |
| Returns | |
|---|---|
| Type | Description |
DatabaseFlags.Builder |
This builder for chaining. |
setValueBytes(ByteString value)
public DatabaseFlags.Builder setValueBytes(ByteString value) The value of the flag. Boolean flags are set to on for true
and off for false. This field must be omitted if the flag
doesn't take a value.
string value = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for value to set. |
| Returns | |
|---|---|
| Type | Description |
DatabaseFlags.Builder |
This builder for chaining. |