dataflow  v1b3
Public Member Functions | Static Public Member Functions | List of all members
google_dataflow_api::ContainerSpec Class Reference

#include <container_spec.h>

Inheritance diagram for google_dataflow_api::ContainerSpec:

Public Member Functions

 ContainerSpec (const Json::Value &storage)
 
 ContainerSpec (Json::Value *storage)
 
virtual ~ContainerSpec ()
 
const StringPiece GetTypeName () const
 
bool has_image () const
 
void clear_image ()
 
const StringPiece get_image () const
 
void set_image (const StringPiece &value)
 
bool has_metadata () const
 
void clear_metadata ()
 
const TemplateMetadata get_metadata () const
 
TemplateMetadata mutable_metadata ()
 
bool has_sdk_info () const
 
void clear_sdk_info ()
 
const SDKInfo get_sdk_info () const
 
SDKInfo mutable_sdkInfo ()
 

Static Public Member Functions

static ContainerSpecNew ()
 

Detailed Description

Container Spec.

Constructor & Destructor Documentation

◆ ContainerSpec() [1/2]

google_dataflow_api::ContainerSpec::ContainerSpec ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

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

◆ ContainerSpec() [2/2]

google_dataflow_api::ContainerSpec::ContainerSpec ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

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

◆ ~ContainerSpec()

google_dataflow_api::ContainerSpec::~ContainerSpec ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_image()

void google_dataflow_api::ContainerSpec::clear_image ( )
inline

Clears the 'image' attribute.

◆ clear_metadata()

void google_dataflow_api::ContainerSpec::clear_metadata ( )
inline

Clears the 'metadata' attribute.

◆ clear_sdk_info()

void google_dataflow_api::ContainerSpec::clear_sdk_info ( )
inline

Clears the 'sdkInfo' attribute.

◆ get_image()

const StringPiece google_dataflow_api::ContainerSpec::get_image ( ) const
inline

Get the value of the 'image' attribute.

◆ get_metadata()

const TemplateMetadata google_dataflow_api::ContainerSpec::get_metadata ( ) const

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

◆ get_sdk_info()

const SDKInfo google_dataflow_api::ContainerSpec::get_sdk_info ( ) const

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

◆ GetTypeName()

const StringPiece google_dataflow_api::ContainerSpec::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_dataflow_api::ContainerSpec

◆ has_image()

bool google_dataflow_api::ContainerSpec::has_image ( ) const
inline

Determine if the 'image' attribute was set.

Returns
true if the 'image' attribute was set.

◆ has_metadata()

bool google_dataflow_api::ContainerSpec::has_metadata ( ) const
inline

Determine if the 'metadata' attribute was set.

Returns
true if the 'metadata' attribute was set.

◆ has_sdk_info()

bool google_dataflow_api::ContainerSpec::has_sdk_info ( ) const
inline

Determine if the 'sdkInfo' attribute was set.

Returns
true if the 'sdkInfo' attribute was set.

◆ mutable_metadata()

TemplateMetadata google_dataflow_api::ContainerSpec::mutable_metadata ( )

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

Metadata describing a template including description and validation rules.

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

◆ mutable_sdkInfo()

SDKInfo google_dataflow_api::ContainerSpec::mutable_sdkInfo ( )

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

Required. SDK info of the Flex Template.

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

◆ New()

ContainerSpec * google_dataflow_api::ContainerSpec::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_image()

void google_dataflow_api::ContainerSpec::set_image ( const StringPiece &  value)
inline

Change the 'image' attribute.

Name of the docker container image. E.g., gcr.io/project/some-image.

Parameters
[in]valueThe new value.

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