public static final class SqlInstancesExecuteSqlResponse.Message.Builder extends GeneratedMessage.Builder<SqlInstancesExecuteSqlResponse.Message.Builder> implements SqlInstancesExecuteSqlResponse.MessageOrBuilderRepresents a notice or warning message from the database.
Protobuf type google.cloud.sql.v1.SqlInstancesExecuteSqlResponse.Message
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > SqlInstancesExecuteSqlResponse.Message.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public SqlInstancesExecuteSqlResponse.Message build()| Returns | |
|---|---|
| Type | Description |
SqlInstancesExecuteSqlResponse.Message |
|
buildPartial()
public SqlInstancesExecuteSqlResponse.Message buildPartial()| Returns | |
|---|---|
| Type | Description |
SqlInstancesExecuteSqlResponse.Message |
|
clear()
public SqlInstancesExecuteSqlResponse.Message.Builder clear()| Returns | |
|---|---|
| Type | Description |
SqlInstancesExecuteSqlResponse.Message.Builder |
|
clearMessage()
public SqlInstancesExecuteSqlResponse.Message.Builder clearMessage()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 |
SqlInstancesExecuteSqlResponse.Message.Builder |
This builder for chaining. |
clearSeverity()
public SqlInstancesExecuteSqlResponse.Message.Builder clearSeverity()The severity of the message (e.g., "NOTICE" for PostgreSQL, "WARNING" for MySQL).
optional string severity = 2;
| Returns | |
|---|---|
| Type | Description |
SqlInstancesExecuteSqlResponse.Message.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public SqlInstancesExecuteSqlResponse.Message getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
SqlInstancesExecuteSqlResponse.Message |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getMessage()
public 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 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 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 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 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 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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(SqlInstancesExecuteSqlResponse.Message other)
public SqlInstancesExecuteSqlResponse.Message.Builder mergeFrom(SqlInstancesExecuteSqlResponse.Message other)| Parameter | |
|---|---|
| Name | Description |
other |
SqlInstancesExecuteSqlResponse.Message |
| Returns | |
|---|---|
| Type | Description |
SqlInstancesExecuteSqlResponse.Message.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SqlInstancesExecuteSqlResponse.Message.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SqlInstancesExecuteSqlResponse.Message.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public SqlInstancesExecuteSqlResponse.Message.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
SqlInstancesExecuteSqlResponse.Message.Builder |
|
setMessage(String value)
public SqlInstancesExecuteSqlResponse.Message.Builder setMessage(String value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe message to set. |
| Returns | |
|---|---|
| Type | Description |
SqlInstancesExecuteSqlResponse.Message.Builder |
This builder for chaining. |
setMessageBytes(ByteString value)
public SqlInstancesExecuteSqlResponse.Message.Builder setMessageBytes(ByteString value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for message to set. |
| Returns | |
|---|---|
| Type | Description |
SqlInstancesExecuteSqlResponse.Message.Builder |
This builder for chaining. |
setSeverity(String value)
public SqlInstancesExecuteSqlResponse.Message.Builder setSeverity(String value)The severity of the message (e.g., "NOTICE" for PostgreSQL, "WARNING" for MySQL).
optional string severity = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe severity to set. |
| Returns | |
|---|---|
| Type | Description |
SqlInstancesExecuteSqlResponse.Message.Builder |
This builder for chaining. |
setSeverityBytes(ByteString value)
public SqlInstancesExecuteSqlResponse.Message.Builder setSeverityBytes(ByteString value)The severity of the message (e.g., "NOTICE" for PostgreSQL, "WARNING" for MySQL).
optional string severity = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for severity to set. |
| Returns | |
|---|---|
| Type | Description |
SqlInstancesExecuteSqlResponse.Message.Builder |
This builder for chaining. |