#include <detect_language_request.h>
Detailed Description
The request message for language detection.
Constructor & Destructor Documentation
google_translate_api::DetectLanguageRequest::DetectLanguageRequest |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
google_translate_api::DetectLanguageRequest::DetectLanguageRequest |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
google_translate_api::DetectLanguageRequest::~DetectLanguageRequest |
( |
| ) |
|
|
virtual |
Member Function Documentation
void google_translate_api::DetectLanguageRequest::clear_q |
( |
| ) |
|
|
inline |
Clears the 'q
' attribute.
const client::JsonCppArray<string > google_translate_api::DetectLanguageRequest::get_q |
( |
| ) |
const |
|
inline |
Get a reference to the value of the 'q
' attribute.
const StringPiece google_translate_api::DetectLanguageRequest::GetTypeName |
( |
| ) |
const |
|
inline |
bool google_translate_api::DetectLanguageRequest::has_q |
( |
| ) |
const |
|
inline |
Determine if the 'q
' attribute was set.
- Returns
- true if the '
q
' attribute was set.
client::JsonCppArray<string > google_translate_api::DetectLanguageRequest::mutable_q |
( |
| ) |
|
|
inline |
Gets a reference to a mutable value of the 'q
' property.
The input text upon which to perform language detection. Repeat this parameter to perform language detection on multiple text inputs.
- Returns
- The result can be modified to change the attribute value.
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
The documentation for this class was generated from the following files: