dataflow
v1b3
|
#include <snapshot.h>
Public Member Functions | |
Snapshot (const Json::Value &storage) | |
Snapshot (Json::Value *storage) | |
virtual | ~Snapshot () |
const StringPiece | GetTypeName () const |
bool | has_creation_time () const |
void | clear_creation_time () |
const StringPiece | get_creation_time () const |
void | set_creation_time (const StringPiece &value) |
bool | has_description () const |
void | clear_description () |
const StringPiece | get_description () const |
void | set_description (const StringPiece &value) |
bool | has_disk_size_bytes () const |
void | clear_disk_size_bytes () |
int64 | get_disk_size_bytes () const |
void | set_disk_size_bytes (int64 value) |
bool | has_id () const |
void | clear_id () |
const StringPiece | get_id () const |
void | set_id (const StringPiece &value) |
bool | has_project_id () const |
void | clear_project_id () |
const StringPiece | get_project_id () const |
void | set_project_id (const StringPiece &value) |
bool | has_pubsub_metadata () const |
void | clear_pubsub_metadata () |
const client::JsonCppArray< PubsubSnapshotMetadata > | get_pubsub_metadata () const |
client::JsonCppArray< PubsubSnapshotMetadata > | mutable_pubsubMetadata () |
bool | has_source_job_id () const |
void | clear_source_job_id () |
const StringPiece | get_source_job_id () const |
void | set_source_job_id (const StringPiece &value) |
bool | has_state () const |
void | clear_state () |
const StringPiece | get_state () const |
void | set_state (const StringPiece &value) |
bool | has_ttl () const |
void | clear_ttl () |
const StringPiece | get_ttl () const |
void | set_ttl (const StringPiece &value) |
Static Public Member Functions | |
static Snapshot * | New () |
Represents a snapshot of a job.
|
explicit |
Standard constructor for an immutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
explicit |
Standard constructor for a mutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
virtual |
Standard destructor.
|
inline |
Clears the 'creationTime
' attribute.
|
inline |
Clears the 'description
' attribute.
|
inline |
Clears the 'diskSizeBytes
' attribute.
|
inline |
Clears the 'id
' attribute.
|
inline |
Clears the 'projectId
' attribute.
|
inline |
Clears the 'pubsubMetadata
' attribute.
|
inline |
Clears the 'sourceJobId
' attribute.
|
inline |
Clears the 'state
' attribute.
|
inline |
Clears the 'ttl
' attribute.
|
inline |
Get the value of the 'creationTime
' attribute.
|
inline |
Get the value of the 'description
' attribute.
|
inline |
Get the value of the 'diskSizeBytes
' attribute.
|
inline |
Get the value of the 'id
' attribute.
|
inline |
Get the value of the 'projectId
' attribute.
const client::JsonCppArray<PubsubSnapshotMetadata > google_dataflow_api::Snapshot::get_pubsub_metadata | ( | ) | const |
Get a reference to the value of the 'pubsubMetadata
' attribute.
|
inline |
Get the value of the 'sourceJobId
' attribute.
|
inline |
Get the value of the 'state
' attribute.
|
inline |
Get the value of the 'ttl
' attribute.
|
inline |
Returns a string denoting the type of this data object.
|
inline |
Determine if the 'creationTime
' attribute was set.
creationTime
' attribute was set.
|
inline |
Determine if the 'description
' attribute was set.
description
' attribute was set.
|
inline |
Determine if the 'diskSizeBytes
' attribute was set.
diskSizeBytes
' attribute was set.
|
inline |
Determine if the 'id
' attribute was set.
id
' attribute was set.
|
inline |
Determine if the 'projectId
' attribute was set.
projectId
' attribute was set.
|
inline |
Determine if the 'pubsubMetadata
' attribute was set.
pubsubMetadata
' attribute was set.
|
inline |
Determine if the 'sourceJobId
' attribute was set.
sourceJobId
' attribute was set.
|
inline |
Determine if the 'state
' attribute was set.
state
' attribute was set.
|
inline |
Determine if the 'ttl
' attribute was set.
ttl
' attribute was set. client::JsonCppArray<PubsubSnapshotMetadata > google_dataflow_api::Snapshot::mutable_pubsubMetadata | ( | ) |
Gets a reference to a mutable value of the 'pubsubMetadata
' property.
PubSub snapshot metadata.
|
static |
Creates a new default instance.
|
inline |
Change the 'creationTime
' attribute.
The time this snapshot was created.
[in] | value | The new value. |
|
inline |
Change the 'description
' attribute.
User specified description of the snapshot. Maybe empty.
[in] | value | The new value. |
|
inline |
Change the 'diskSizeBytes
' attribute.
The disk byte size of the snapshot. Only available for snapshots in READY state.
[in] | value | The new value. |
|
inline |
Change the 'id
' attribute.
The unique ID of this snapshot.
[in] | value | The new value. |
|
inline |
Change the 'projectId
' attribute.
The project this snapshot belongs to.
[in] | value | The new value. |
|
inline |
Change the 'sourceJobId
' attribute.
The job this snapshot was created from.
[in] | value | The new value. |
|
inline |
Change the 'state
' attribute.
State of the snapshot.
[in] | value | The new value. |
|
inline |
Change the 'ttl
' attribute.
The time after which this snapshot will be automatically deleted.
[in] | value | The new value. |