translate  v2
 All Classes Functions Variables Groups
Public Member Functions | Static Public Member Functions | List of all members
google_translate_api::DetectLanguageRequest Class Reference

#include <detect_language_request.h>

Public Member Functions

 DetectLanguageRequest (const Json::Value &storage)
 DetectLanguageRequest (Json::Value *storage)
virtual ~DetectLanguageRequest ()
const StringPiece GetTypeName () const
bool has_q () const
void clear_q ()
const client::JsonCppArray
< string > 
get_q () const
client::JsonCppArray< string > mutable_q ()

Static Public Member Functions

static DetectLanguageRequestNew ()

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]storageThe 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]storageThe underlying data storage for this instance.
google_translate_api::DetectLanguageRequest::~DetectLanguageRequest ( )
virtual

Standard destructor.

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

Returns a string denoting the type of this data object.

Returns
google_translate_api::DetectLanguageRequest
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.
DetectLanguageRequest * google_translate_api::DetectLanguageRequest::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

The documentation for this class was generated from the following files: