Enum google_api_proto::google::cloud::datalabeling::v1beta1::annotated_dataset_metadata::AnnotationRequestConfig
source · pub enum AnnotationRequestConfig {
ImageClassificationConfig(ImageClassificationConfig),
BoundingPolyConfig(BoundingPolyConfig),
PolylineConfig(PolylineConfig),
SegmentationConfig(SegmentationConfig),
VideoClassificationConfig(VideoClassificationConfig),
ObjectDetectionConfig(ObjectDetectionConfig),
ObjectTrackingConfig(ObjectTrackingConfig),
EventConfig(EventConfig),
TextClassificationConfig(TextClassificationConfig),
TextEntityExtractionConfig(TextEntityExtractionConfig),
}
Expand description
Specific request configuration used when requesting the labeling task.
Variants§
ImageClassificationConfig(ImageClassificationConfig)
Configuration for image classification task.
BoundingPolyConfig(BoundingPolyConfig)
Configuration for image bounding box and bounding poly task.
PolylineConfig(PolylineConfig)
Configuration for image polyline task.
SegmentationConfig(SegmentationConfig)
Configuration for image segmentation task.
VideoClassificationConfig(VideoClassificationConfig)
Configuration for video classification task.
ObjectDetectionConfig(ObjectDetectionConfig)
Configuration for video object detection task.
ObjectTrackingConfig(ObjectTrackingConfig)
Configuration for video object tracking task.
EventConfig(EventConfig)
Configuration for video event labeling task.
TextClassificationConfig(TextClassificationConfig)
Configuration for text classification task.
TextEntityExtractionConfig(TextEntityExtractionConfig)
Configuration for text entity extraction task.
Implementations§
source§impl AnnotationRequestConfig
impl AnnotationRequestConfig
sourcepub fn merge(
field: &mut Option<AnnotationRequestConfig>,
tag: u32,
wire_type: WireType,
buf: &mut impl Buf,
ctx: DecodeContext,
) -> Result<(), DecodeError>
pub fn merge( field: &mut Option<AnnotationRequestConfig>, 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 AnnotationRequestConfig
impl Clone for AnnotationRequestConfig
source§fn clone(&self) -> AnnotationRequestConfig
fn clone(&self) -> AnnotationRequestConfig
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 AnnotationRequestConfig
impl Debug for AnnotationRequestConfig
source§impl PartialEq for AnnotationRequestConfig
impl PartialEq for AnnotationRequestConfig
source§fn eq(&self, other: &AnnotationRequestConfig) -> bool
fn eq(&self, other: &AnnotationRequestConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AnnotationRequestConfig
Auto Trait Implementations§
impl Freeze for AnnotationRequestConfig
impl RefUnwindSafe for AnnotationRequestConfig
impl Send for AnnotationRequestConfig
impl Sync for AnnotationRequestConfig
impl Unpin for AnnotationRequestConfig
impl UnwindSafe for AnnotationRequestConfig
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