    public static interface SqlInstancesExecuteSqlResponse.MessageOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getMessage()

    public abstract String getMessage()

The full message string. For PostgreSQL, this is a formatted string that may include severity, code, and the notice/warning message. For MySQL, this contains the warning message.

`optional string message = 1;`

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

### getMessageBytes()

    public abstract ByteString getMessageBytes()

The full message string. For PostgreSQL, this is a formatted string that may include severity, code, and the notice/warning message. For MySQL, this contains the warning message.

`optional string message = 1;`

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

### getSeverity()

    public abstract String getSeverity()

The severity of the message (e.g., "NOTICE" for PostgreSQL, "WARNING" for MySQL).

`optional string severity = 2;`

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

### getSeverityBytes()

    public abstract ByteString getSeverityBytes()

The severity of the message (e.g., "NOTICE" for PostgreSQL, "WARNING" for MySQL).

`optional string severity = 2;`

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

### hasMessage()

    public abstract boolean hasMessage()

The full message string. For PostgreSQL, this is a formatted string that may include severity, code, and the notice/warning message. For MySQL, this contains the warning message.

`optional string message = 1;`

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

### hasSeverity()

    public abstract boolean hasSeverity()

The severity of the message (e.g., "NOTICE" for PostgreSQL, "WARNING" for MySQL).

`optional string severity = 2;`

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