LocalizedMessage
class LocalizedMessage extends Message
Provides a localized error message that is safe to return to the user which can be attached to an RPC error.
Generated from protobuf message google.rpc.LocalizedMessage
Methods
No description
The locale used following the specification defined at http://www.rfc-editor.org/rfc/bcp/bcp47.txt.
The locale used following the specification defined at http://www.rfc-editor.org/rfc/bcp/bcp47.txt.
The localized error message in the above locale.
The localized error message in the above locale.
Details
at line 34
__construct()
at line 47
string
getLocale()
The locale used following the specification defined at http://www.rfc-editor.org/rfc/bcp/bcp47.txt.
Examples are: "en-US", "fr-CH", "es-MX"
Generated from protobuf field string locale = 1;
at line 61
$this
setLocale(string $var)
The locale used following the specification defined at http://www.rfc-editor.org/rfc/bcp/bcp47.txt.
Examples are: "en-US", "fr-CH", "es-MX"
Generated from protobuf field string locale = 1;
at line 75
string
getMessage()
The localized error message in the above locale.
Generated from protobuf field string message = 2;
at line 87
$this
setMessage(string $var)
The localized error message in the above locale.
Generated from protobuf field string message = 2;