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 |
| public __construct( $data = NULL) Constructor.
|
| public getLocale() The locale used following the specification defined at https://www.rfc-editor.org/rfc/bcp/bcp47.txt. Examples are: "en-US", "fr-CH", "es-MX" Generated from protobuf field string locale = 1;
|
| public getMessage() The localized error message in the above locale. Generated from protobuf field string message = 2;
|
| public setLocale( $var) The locale used following the specification defined at https://www.rfc-editor.org/rfc/bcp/bcp47.txt. Examples are: "en-US", "fr-CH", "es-MX" Generated from protobuf field string locale = 1;
|
| public setMessage( $var) The localized error message in the above locale. Generated from protobuf field string message = 2;
|
| Properties |
| protected $locale = '' The locale used following the specification defined at https://www.rfc-editor.org/rfc/bcp/bcp47.txt. Examples are: "en-US", "fr-CH", "es-MX" Generated from protobuf field string locale = 1; |
| protected $message = '' The localized error message in the above locale. Generated from protobuf field string message = 2; |
| Methods |