compute  v1
Public Member Functions | Static Public Member Functions | List of all members
google_compute_api::UrlMapValidationResult Class Reference

#include <url_map_validation_result.h>

Inheritance diagram for google_compute_api::UrlMapValidationResult:

Public Member Functions

 UrlMapValidationResult (const Json::Value &storage)
 
 UrlMapValidationResult (Json::Value *storage)
 
virtual ~UrlMapValidationResult ()
 
const StringPiece GetTypeName () const
 
bool has_load_errors () const
 
void clear_load_errors ()
 
const client::JsonCppArray< string > get_load_errors () const
 
client::JsonCppArray< string > mutable_loadErrors ()
 
bool has_load_succeeded () const
 
void clear_load_succeeded ()
 
bool get_load_succeeded () const
 
void set_load_succeeded (bool value)
 
bool has_test_failures () const
 
void clear_test_failures ()
 
const client::JsonCppArray< TestFailureget_test_failures () const
 
client::JsonCppArray< TestFailuremutable_testFailures ()
 
bool has_test_passed () const
 
void clear_test_passed ()
 
bool get_test_passed () const
 
void set_test_passed (bool value)
 

Static Public Member Functions

static UrlMapValidationResultNew ()
 

Detailed Description

Message representing the validation result for a UrlMap.

Constructor & Destructor Documentation

◆ UrlMapValidationResult() [1/2]

google_compute_api::UrlMapValidationResult::UrlMapValidationResult ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

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

◆ UrlMapValidationResult() [2/2]

google_compute_api::UrlMapValidationResult::UrlMapValidationResult ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

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

◆ ~UrlMapValidationResult()

google_compute_api::UrlMapValidationResult::~UrlMapValidationResult ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_load_errors()

void google_compute_api::UrlMapValidationResult::clear_load_errors ( )
inline

Clears the 'loadErrors' attribute.

◆ clear_load_succeeded()

void google_compute_api::UrlMapValidationResult::clear_load_succeeded ( )
inline

Clears the 'loadSucceeded' attribute.

◆ clear_test_failures()

void google_compute_api::UrlMapValidationResult::clear_test_failures ( )
inline

Clears the 'testFailures' attribute.

◆ clear_test_passed()

void google_compute_api::UrlMapValidationResult::clear_test_passed ( )
inline

Clears the 'testPassed' attribute.

◆ get_load_errors()

const client::JsonCppArray<string > google_compute_api::UrlMapValidationResult::get_load_errors ( ) const
inline

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

◆ get_load_succeeded()

bool google_compute_api::UrlMapValidationResult::get_load_succeeded ( ) const
inline

Get the value of the 'loadSucceeded' attribute.

◆ get_test_failures()

const client::JsonCppArray<TestFailure > google_compute_api::UrlMapValidationResult::get_test_failures ( ) const

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

◆ get_test_passed()

bool google_compute_api::UrlMapValidationResult::get_test_passed ( ) const
inline

Get the value of the 'testPassed' attribute.

◆ GetTypeName()

const StringPiece google_compute_api::UrlMapValidationResult::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_compute_api::UrlMapValidationResult

◆ has_load_errors()

bool google_compute_api::UrlMapValidationResult::has_load_errors ( ) const
inline

Determine if the 'loadErrors' attribute was set.

Returns
true if the 'loadErrors' attribute was set.

◆ has_load_succeeded()

bool google_compute_api::UrlMapValidationResult::has_load_succeeded ( ) const
inline

Determine if the 'loadSucceeded' attribute was set.

Returns
true if the 'loadSucceeded' attribute was set.

◆ has_test_failures()

bool google_compute_api::UrlMapValidationResult::has_test_failures ( ) const
inline

Determine if the 'testFailures' attribute was set.

Returns
true if the 'testFailures' attribute was set.

◆ has_test_passed()

bool google_compute_api::UrlMapValidationResult::has_test_passed ( ) const
inline

Determine if the 'testPassed' attribute was set.

Returns
true if the 'testPassed' attribute was set.

◆ mutable_loadErrors()

client::JsonCppArray<string > google_compute_api::UrlMapValidationResult::mutable_loadErrors ( )
inline

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

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

◆ mutable_testFailures()

client::JsonCppArray<TestFailure > google_compute_api::UrlMapValidationResult::mutable_testFailures ( )

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

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

◆ New()

UrlMapValidationResult * google_compute_api::UrlMapValidationResult::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_load_succeeded()

void google_compute_api::UrlMapValidationResult::set_load_succeeded ( bool  value)
inline

Change the 'loadSucceeded' attribute.

Whether the given UrlMap can be successfully loaded. If false, 'loadErrors' indicates the reasons.

Parameters
[in]valueThe new value.

◆ set_test_passed()

void google_compute_api::UrlMapValidationResult::set_test_passed ( bool  value)
inline

Change the 'testPassed' attribute.

If successfully loaded, this field indicates whether the test passed. If false, 'testFailures's indicate the reason of failure.

Parameters
[in]valueThe new value.

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