bigquery  v2
Public Member Functions | Static Public Member Functions | List of all members
google_bigquery_api::ModelDefinition::ModelDefinitionModelOptions Class Reference

#include <model_definition.h>

Inheritance diagram for google_bigquery_api::ModelDefinition::ModelDefinitionModelOptions:

Public Member Functions

 ModelDefinitionModelOptions (const Json::Value &storage)
 
 ModelDefinitionModelOptions (Json::Value *storage)
 
virtual ~ModelDefinitionModelOptions ()
 
const StringPiece GetTypeName () const
 
bool has_labels () const
 
void clear_labels ()
 
const client::JsonCppArray< string > get_labels () const
 
client::JsonCppArray< string > mutable_labels ()
 
bool has_loss_type () const
 
void clear_loss_type ()
 
const StringPiece get_loss_type () const
 
void set_loss_type (const StringPiece &value)
 
bool has_model_type () const
 
void clear_model_type ()
 
const StringPiece get_model_type () const
 
void set_model_type (const StringPiece &value)
 

Static Public Member Functions

static ModelDefinitionModelOptionsNew ()
 

Detailed Description

[Output-only, Beta] Model options used for the first training run. These options are immutable for subsequent training runs. Default values are used for any options not specified in the input query.

Constructor & Destructor Documentation

◆ ModelDefinitionModelOptions() [1/2]

google_bigquery_api::ModelDefinition::ModelDefinitionModelOptions::ModelDefinitionModelOptions ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ ModelDefinitionModelOptions() [2/2]

google_bigquery_api::ModelDefinition::ModelDefinitionModelOptions::ModelDefinitionModelOptions ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ ~ModelDefinitionModelOptions()

google_bigquery_api::ModelDefinition::ModelDefinitionModelOptions::~ModelDefinitionModelOptions ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_labels()

void google_bigquery_api::ModelDefinition::ModelDefinitionModelOptions::clear_labels ( )
inline

Clears the 'labels' attribute.

◆ clear_loss_type()

void google_bigquery_api::ModelDefinition::ModelDefinitionModelOptions::clear_loss_type ( )
inline

Clears the 'lossType' attribute.

◆ clear_model_type()

void google_bigquery_api::ModelDefinition::ModelDefinitionModelOptions::clear_model_type ( )
inline

Clears the 'modelType' attribute.

◆ get_labels()

const client::JsonCppArray<string > google_bigquery_api::ModelDefinition::ModelDefinitionModelOptions::get_labels ( ) const
inline

Get a reference to the value of the 'labels' attribute.

◆ get_loss_type()

const StringPiece google_bigquery_api::ModelDefinition::ModelDefinitionModelOptions::get_loss_type ( ) const
inline

Get the value of the 'lossType' attribute.

◆ get_model_type()

const StringPiece google_bigquery_api::ModelDefinition::ModelDefinitionModelOptions::get_model_type ( ) const
inline

Get the value of the 'modelType' attribute.

◆ GetTypeName()

const StringPiece google_bigquery_api::ModelDefinition::ModelDefinitionModelOptions::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_bigquery_api::ModelDefinitionModelOptions

◆ has_labels()

bool google_bigquery_api::ModelDefinition::ModelDefinitionModelOptions::has_labels ( ) const
inline

Determine if the 'labels' attribute was set.

Returns
true if the 'labels' attribute was set.

◆ has_loss_type()

bool google_bigquery_api::ModelDefinition::ModelDefinitionModelOptions::has_loss_type ( ) const
inline

Determine if the 'lossType' attribute was set.

Returns
true if the 'lossType' attribute was set.

◆ has_model_type()

bool google_bigquery_api::ModelDefinition::ModelDefinitionModelOptions::has_model_type ( ) const
inline

Determine if the 'modelType' attribute was set.

Returns
true if the 'modelType' attribute was set.

◆ mutable_labels()

client::JsonCppArray<string > google_bigquery_api::ModelDefinition::ModelDefinitionModelOptions::mutable_labels ( )
inline

Gets a reference to a mutable value of the 'labels' property.

Returns
The result can be modified to change the attribute value.

◆ New()

ModelDefinition::ModelDefinitionModelOptions * google_bigquery_api::ModelDefinition::ModelDefinitionModelOptions::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_loss_type()

void google_bigquery_api::ModelDefinition::ModelDefinitionModelOptions::set_loss_type ( const StringPiece &  value)
inline

Change the 'lossType' attribute.

Parameters
[in]valueThe new value.

◆ set_model_type()

void google_bigquery_api::ModelDefinition::ModelDefinitionModelOptions::set_model_type ( const StringPiece &  value)
inline

Change the 'modelType' attribute.

Parameters
[in]valueThe new value.

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