Enum google_api_proto::google::cloud::automl::v1beta1::dataset::DatasetMetadata
source · pub enum DatasetMetadata {
TranslationDatasetMetadata(TranslationDatasetMetadata),
ImageClassificationDatasetMetadata(ImageClassificationDatasetMetadata),
TextClassificationDatasetMetadata(TextClassificationDatasetMetadata),
ImageObjectDetectionDatasetMetadata(ImageObjectDetectionDatasetMetadata),
VideoClassificationDatasetMetadata(VideoClassificationDatasetMetadata),
VideoObjectTrackingDatasetMetadata(VideoObjectTrackingDatasetMetadata),
TextExtractionDatasetMetadata(TextExtractionDatasetMetadata),
TextSentimentDatasetMetadata(TextSentimentDatasetMetadata),
TablesDatasetMetadata(TablesDatasetMetadata),
}
Expand description
Required. The dataset metadata that is specific to the problem type.
Variants§
TranslationDatasetMetadata(TranslationDatasetMetadata)
Metadata for a dataset used for translation.
ImageClassificationDatasetMetadata(ImageClassificationDatasetMetadata)
Metadata for a dataset used for image classification.
TextClassificationDatasetMetadata(TextClassificationDatasetMetadata)
Metadata for a dataset used for text classification.
ImageObjectDetectionDatasetMetadata(ImageObjectDetectionDatasetMetadata)
Metadata for a dataset used for image object detection.
VideoClassificationDatasetMetadata(VideoClassificationDatasetMetadata)
Metadata for a dataset used for video classification.
VideoObjectTrackingDatasetMetadata(VideoObjectTrackingDatasetMetadata)
Metadata for a dataset used for video object tracking.
TextExtractionDatasetMetadata(TextExtractionDatasetMetadata)
Metadata for a dataset used for text extraction.
TextSentimentDatasetMetadata(TextSentimentDatasetMetadata)
Metadata for a dataset used for text sentiment.
TablesDatasetMetadata(TablesDatasetMetadata)
Metadata for a dataset used for Tables.
Implementations§
source§impl DatasetMetadata
impl DatasetMetadata
sourcepub fn merge(
field: &mut Option<DatasetMetadata>,
tag: u32,
wire_type: WireType,
buf: &mut impl Buf,
ctx: DecodeContext,
) -> Result<(), DecodeError>
pub fn merge( field: &mut Option<DatasetMetadata>, tag: u32, wire_type: WireType, buf: &mut impl Buf, ctx: DecodeContext, ) -> Result<(), DecodeError>
Decodes an instance of the message from a buffer, and merges it into self.
sourcepub fn encoded_len(&self) -> usize
pub fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Trait Implementations§
source§impl Clone for DatasetMetadata
impl Clone for DatasetMetadata
source§fn clone(&self) -> DatasetMetadata
fn clone(&self) -> DatasetMetadata
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for DatasetMetadata
impl Debug for DatasetMetadata
source§impl PartialEq for DatasetMetadata
impl PartialEq for DatasetMetadata
source§fn eq(&self, other: &DatasetMetadata) -> bool
fn eq(&self, other: &DatasetMetadata) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DatasetMetadata
Auto Trait Implementations§
impl Freeze for DatasetMetadata
impl RefUnwindSafe for DatasetMetadata
impl Send for DatasetMetadata
impl Sync for DatasetMetadata
impl Unpin for DatasetMetadata
impl UnwindSafe for DatasetMetadata
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
Mutably borrows from an owned value. Read more
§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>
Wrap the input message
T
in a tonic::Request