#[non_exhaustive]pub struct TensorboardTimeSeries {
pub name: String,
pub display_name: String,
pub description: String,
pub value_type: ValueType,
pub create_time: Option<Timestamp>,
pub update_time: Option<Timestamp>,
pub etag: String,
pub plugin_name: String,
pub plugin_data: Bytes,
pub metadata: Option<Metadata>,
/* private fields */
}tensorboard-service only.Expand description
TensorboardTimeSeries maps to times series produced in training runs
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: StringOutput only. Name of the TensorboardTimeSeries.
display_name: StringRequired. User provided name of this TensorboardTimeSeries. This value should be unique among all TensorboardTimeSeries resources belonging to the same TensorboardRun resource (parent resource).
description: StringDescription of this TensorboardTimeSeries.
value_type: ValueTypeRequired. Immutable. Type of TensorboardTimeSeries value.
create_time: Option<Timestamp>Output only. Timestamp when this TensorboardTimeSeries was created.
update_time: Option<Timestamp>Output only. Timestamp when this TensorboardTimeSeries was last updated.
etag: StringUsed to perform a consistent read-modify-write updates. If not set, a blind “overwrite” update happens.
plugin_name: StringImmutable. Name of the plugin this time series pertain to. Such as Scalar, Tensor, Blob
plugin_data: BytesData of the current plugin, with the size limited to 65KB.
metadata: Option<Metadata>Output only. Scalar, Tensor, or Blob metadata for this TensorboardTimeSeries.
Implementations§
Source§impl TensorboardTimeSeries
impl TensorboardTimeSeries
pub fn new() -> Self
Sourcepub fn set_display_name<T: Into<String>>(self, v: T) -> Self
pub fn set_display_name<T: Into<String>>(self, v: T) -> Self
Sets the value of display_name.
§Example
let x = TensorboardTimeSeries::new().set_display_name("example");Sourcepub fn set_description<T: Into<String>>(self, v: T) -> Self
pub fn set_description<T: Into<String>>(self, v: T) -> Self
Sets the value of description.
§Example
let x = TensorboardTimeSeries::new().set_description("example");Sourcepub fn set_value_type<T: Into<ValueType>>(self, v: T) -> Self
pub fn set_value_type<T: Into<ValueType>>(self, v: T) -> Self
Sets the value of value_type.
§Example
use google_cloud_aiplatform_v1::model::tensorboard_time_series::ValueType;
let x0 = TensorboardTimeSeries::new().set_value_type(ValueType::Scalar);
let x1 = TensorboardTimeSeries::new().set_value_type(ValueType::Tensor);
let x2 = TensorboardTimeSeries::new().set_value_type(ValueType::BlobSequence);Sourcepub fn set_create_time<T>(self, v: T) -> Self
pub fn set_create_time<T>(self, v: T) -> Self
Sets the value of create_time.
§Example
use wkt::Timestamp;
let x = TensorboardTimeSeries::new().set_create_time(Timestamp::default()/* use setters */);Sourcepub fn set_or_clear_create_time<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_create_time<T>(self, v: Option<T>) -> Self
Sets or clears the value of create_time.
§Example
use wkt::Timestamp;
let x = TensorboardTimeSeries::new().set_or_clear_create_time(Some(Timestamp::default()/* use setters */));
let x = TensorboardTimeSeries::new().set_or_clear_create_time(None::<Timestamp>);Sourcepub fn set_update_time<T>(self, v: T) -> Self
pub fn set_update_time<T>(self, v: T) -> Self
Sets the value of update_time.
§Example
use wkt::Timestamp;
let x = TensorboardTimeSeries::new().set_update_time(Timestamp::default()/* use setters */);Sourcepub fn set_or_clear_update_time<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_update_time<T>(self, v: Option<T>) -> Self
Sets or clears the value of update_time.
§Example
use wkt::Timestamp;
let x = TensorboardTimeSeries::new().set_or_clear_update_time(Some(Timestamp::default()/* use setters */));
let x = TensorboardTimeSeries::new().set_or_clear_update_time(None::<Timestamp>);Sourcepub fn set_plugin_name<T: Into<String>>(self, v: T) -> Self
pub fn set_plugin_name<T: Into<String>>(self, v: T) -> Self
Sets the value of plugin_name.
§Example
let x = TensorboardTimeSeries::new().set_plugin_name("example");Sourcepub fn set_plugin_data<T: Into<Bytes>>(self, v: T) -> Self
pub fn set_plugin_data<T: Into<Bytes>>(self, v: T) -> Self
Sets the value of plugin_data.
§Example
let x = TensorboardTimeSeries::new().set_plugin_data(bytes::Bytes::from_static(b"example"));Sourcepub fn set_metadata<T>(self, v: T) -> Self
pub fn set_metadata<T>(self, v: T) -> Self
Sourcepub fn set_or_clear_metadata<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_metadata<T>(self, v: Option<T>) -> Self
Sets or clears the value of metadata.
§Example
use google_cloud_aiplatform_v1::model::tensorboard_time_series::Metadata;
let x = TensorboardTimeSeries::new().set_or_clear_metadata(Some(Metadata::default()/* use setters */));
let x = TensorboardTimeSeries::new().set_or_clear_metadata(None::<Metadata>);Trait Implementations§
Source§impl Clone for TensorboardTimeSeries
impl Clone for TensorboardTimeSeries
Source§fn clone(&self) -> TensorboardTimeSeries
fn clone(&self) -> TensorboardTimeSeries
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more