Interface ApiWarningOrBuilder (0.1.0)

public interface ApiWarningOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCode()

public abstract ApiWarning.SqlApiWarningCode getCode()

Code to uniquely identify the warning type.

.google.cloud.sql.v1.ApiWarning.SqlApiWarningCode code = 1;

Returns
Type Description
ApiWarning.SqlApiWarningCode

The code.

getCodeValue()

public abstract int getCodeValue()

Code to uniquely identify the warning type.

.google.cloud.sql.v1.ApiWarning.SqlApiWarningCode code = 1;

Returns
Type Description
int

The enum numeric value on the wire for code.

getMessage()

public abstract String getMessage()

The warning message.

string message = 2;

Returns
Type Description
String

The message.

getMessageBytes()

public abstract ByteString getMessageBytes()

The warning message.

string message = 2;

Returns
Type Description
ByteString

The bytes for message.

getRegion()

public abstract String getRegion()

The region name for REGION_UNREACHABLE warning.

string region = 3;

Returns
Type Description
String

The region.

getRegionBytes()

public abstract ByteString getRegionBytes()

The region name for REGION_UNREACHABLE warning.

string region = 3;

Returns
Type Description
ByteString

The bytes for region.