Enum google_api_proto::google::cloud::datalabeling::v1beta1::evaluation_job_config::HumanAnnotationRequestConfig
source · pub enum HumanAnnotationRequestConfig {
ImageClassificationConfig(ImageClassificationConfig),
BoundingPolyConfig(BoundingPolyConfig),
TextClassificationConfig(TextClassificationConfig),
}
Expand description
Required. Details for how you want human reviewers to provide ground truth labels.
Variants§
ImageClassificationConfig(ImageClassificationConfig)
Specify this field if your model version performs image classification or general classification.
annotationSpecSet
in this configuration must match
[EvaluationJob.annotationSpecSet][google.cloud.datalabeling.v1beta1.EvaluationJob.annotation_spec_set].
allowMultiLabel
in this configuration must match
classificationMetadata.isMultiLabel
in [input_config][google.cloud.datalabeling.v1beta1.EvaluationJobConfig.input_config].
BoundingPolyConfig(BoundingPolyConfig)
Specify this field if your model version performs image object detection (bounding box detection).
annotationSpecSet
in this configuration must match
[EvaluationJob.annotationSpecSet][google.cloud.datalabeling.v1beta1.EvaluationJob.annotation_spec_set].
TextClassificationConfig(TextClassificationConfig)
Specify this field if your model version performs text classification.
annotationSpecSet
in this configuration must match
[EvaluationJob.annotationSpecSet][google.cloud.datalabeling.v1beta1.EvaluationJob.annotation_spec_set].
allowMultiLabel
in this configuration must match
classificationMetadata.isMultiLabel
in [input_config][google.cloud.datalabeling.v1beta1.EvaluationJobConfig.input_config].
Implementations§
source§impl HumanAnnotationRequestConfig
impl HumanAnnotationRequestConfig
sourcepub fn merge(
field: &mut Option<HumanAnnotationRequestConfig>,
tag: u32,
wire_type: WireType,
buf: &mut impl Buf,
ctx: DecodeContext,
) -> Result<(), DecodeError>
pub fn merge( field: &mut Option<HumanAnnotationRequestConfig>, 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 HumanAnnotationRequestConfig
impl Clone for HumanAnnotationRequestConfig
source§fn clone(&self) -> HumanAnnotationRequestConfig
fn clone(&self) -> HumanAnnotationRequestConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for HumanAnnotationRequestConfig
impl Debug for HumanAnnotationRequestConfig
source§impl PartialEq for HumanAnnotationRequestConfig
impl PartialEq for HumanAnnotationRequestConfig
source§fn eq(&self, other: &HumanAnnotationRequestConfig) -> bool
fn eq(&self, other: &HumanAnnotationRequestConfig) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for HumanAnnotationRequestConfig
Auto Trait Implementations§
impl Freeze for HumanAnnotationRequestConfig
impl RefUnwindSafe for HumanAnnotationRequestConfig
impl Send for HumanAnnotationRequestConfig
impl Sync for HumanAnnotationRequestConfig
impl Unpin for HumanAnnotationRequestConfig
impl UnwindSafe for HumanAnnotationRequestConfig
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