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

#include <entry.h>

Inheritance diagram for google_bigquery_api::Entry:

Public Member Functions

 Entry (const Json::Value &storage)
 
 Entry (Json::Value *storage)
 
virtual ~Entry ()
 
const StringPiece GetTypeName () const
 
bool has_item_count () const
 
void clear_item_count ()
 
int64 get_item_count () const
 
void set_item_count (int64 value)
 
bool has_predicted_label () const
 
void clear_predicted_label ()
 
const StringPiece get_predicted_label () const
 
void set_predicted_label (const StringPiece &value)
 

Static Public Member Functions

static EntryNew ()
 

Detailed Description

A single entry in the confusion matrix.

Constructor & Destructor Documentation

◆ Entry() [1/2]

google_bigquery_api::Entry::Entry ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

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

◆ Entry() [2/2]

google_bigquery_api::Entry::Entry ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

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

◆ ~Entry()

google_bigquery_api::Entry::~Entry ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_item_count()

void google_bigquery_api::Entry::clear_item_count ( )
inline

Clears the 'itemCount' attribute.

◆ clear_predicted_label()

void google_bigquery_api::Entry::clear_predicted_label ( )
inline

Clears the 'predictedLabel' attribute.

◆ get_item_count()

int64 google_bigquery_api::Entry::get_item_count ( ) const
inline

Get the value of the 'itemCount' attribute.

◆ get_predicted_label()

const StringPiece google_bigquery_api::Entry::get_predicted_label ( ) const
inline

Get the value of the 'predictedLabel' attribute.

◆ GetTypeName()

const StringPiece google_bigquery_api::Entry::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_bigquery_api::Entry

◆ has_item_count()

bool google_bigquery_api::Entry::has_item_count ( ) const
inline

Determine if the 'itemCount' attribute was set.

Returns
true if the 'itemCount' attribute was set.

◆ has_predicted_label()

bool google_bigquery_api::Entry::has_predicted_label ( ) const
inline

Determine if the 'predictedLabel' attribute was set.

Returns
true if the 'predictedLabel' attribute was set.

◆ New()

Entry * google_bigquery_api::Entry::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_item_count()

void google_bigquery_api::Entry::set_item_count ( int64  value)
inline

Change the 'itemCount' attribute.

Number of items being predicted as this label.

Parameters
[in]valueThe new value.

◆ set_predicted_label()

void google_bigquery_api::Entry::set_predicted_label ( const StringPiece &  value)
inline

Change the 'predictedLabel' attribute.

The predicted label. For confidence_threshold > 0, we will also add an entry indicating the number of items under the confidence threshold.

Parameters
[in]valueThe new value.

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