    public interface SqlFlagsListRequestOrBuilder extends MessageOrBuilder

## Implements

[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)

## Methods

### getDatabaseVersion()

    public abstract String getDatabaseVersion()

Database type and version you want to retrieve flags for. By default, this method returns flags for all database types and versions.

`string database_version = 1;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The databaseVersion. |

### getDatabaseVersionBytes()

    public abstract ByteString getDatabaseVersionBytes()

Database type and version you want to retrieve flags for. By default, this method returns flags for all database types and versions.

`string database_version = 1;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for databaseVersion. |

### getFlagScope()

    public abstract SqlFlagScope getFlagScope()

Optional. Specify the scope of flags to be returned by SqlFlagsListService. Return list of database flags if unspecified.

` optional .google.cloud.sql.v1.SqlFlagScope flag_scope = 3 [(.google.api.field_behavior) = OPTIONAL]; `

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-sql/latest/com.google.cloud.sql.v1.SqlFlagScope` | The flagScope. |

### getFlagScopeValue()

    public abstract int getFlagScopeValue()

Optional. Specify the scope of flags to be returned by SqlFlagsListService. Return list of database flags if unspecified.

` optional .google.cloud.sql.v1.SqlFlagScope flag_scope = 3 [(.google.api.field_behavior) = OPTIONAL]; `

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The enum numeric value on the wire for flagScope. |

### hasFlagScope()

    public abstract boolean hasFlagScope()

Optional. Specify the scope of flags to be returned by SqlFlagsListService. Return list of database flags if unspecified.

` optional .google.cloud.sql.v1.SqlFlagScope flag_scope = 3 [(.google.api.field_behavior) = OPTIONAL]; `

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the flagScope field is set. |