Struct google_api_proto::google::cloud::aiplatform::v1::MetadataSchema
source · pub struct MetadataSchema {
pub name: String,
pub schema_version: String,
pub schema: String,
pub schema_type: i32,
pub create_time: Option<Timestamp>,
pub description: String,
}
Expand description
Instance of a general MetadataSchema.
Fields§
§name: String
Output only. The resource name of the MetadataSchema.
schema_version: String
The version of the MetadataSchema. The version’s format must match
the following regular expression: ^\[0-9\]+[.][0-9]+[.][0-9]+$
, which would
allow to order/compare different versions. Example: 1.0.0, 1.0.1, etc.
schema: String
Required. The raw YAML string representation of the MetadataSchema. The
combination of [MetadataSchema.version] and the schema name given by
title
in [MetadataSchema.schema] must be unique within a MetadataStore.
The schema is defined as an OpenAPI 3.0.2 MetadataSchema Object
schema_type: i32
The type of the MetadataSchema. This is a property that identifies which metadata types will use the MetadataSchema.
create_time: Option<Timestamp>
Output only. Timestamp when this MetadataSchema was created.
description: String
Description of the Metadata Schema
Implementations§
source§impl MetadataSchema
impl MetadataSchema
sourcepub fn schema_type(&self) -> MetadataSchemaType
pub fn schema_type(&self) -> MetadataSchemaType
Returns the enum value of schema_type
, or the default if the field is set to an invalid enum value.
sourcepub fn set_schema_type(&mut self, value: MetadataSchemaType)
pub fn set_schema_type(&mut self, value: MetadataSchemaType)
Sets schema_type
to the provided enum value.
Trait Implementations§
source§impl Clone for MetadataSchema
impl Clone for MetadataSchema
source§fn clone(&self) -> MetadataSchema
fn clone(&self) -> MetadataSchema
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for MetadataSchema
impl Debug for MetadataSchema
source§impl Default for MetadataSchema
impl Default for MetadataSchema
source§impl Message for MetadataSchema
impl Message for MetadataSchema
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for MetadataSchema
impl PartialEq for MetadataSchema
source§fn eq(&self, other: &MetadataSchema) -> bool
fn eq(&self, other: &MetadataSchema) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for MetadataSchema
Auto Trait Implementations§
impl Freeze for MetadataSchema
impl RefUnwindSafe for MetadataSchema
impl Send for MetadataSchema
impl Sync for MetadataSchema
impl Unpin for MetadataSchema
impl UnwindSafe for MetadataSchema
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request