public static interface SqlInstancesExecuteSqlResponse.MessageOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
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 |
String |
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 |
ByteString |
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 |
String |
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 |
ByteString |
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 |
boolean |
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 |
boolean |
Whether the severity field is set. |