Class EvaluationConfig.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<EvaluationConfig.Builder>
com.google.cloud.datalabeling.v1beta1.EvaluationConfig.Builder
All Implemented Interfaces:
EvaluationConfigOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
EvaluationConfig

public static final class EvaluationConfig.Builder extends com.google.protobuf.GeneratedMessage.Builder<EvaluationConfig.Builder> implements EvaluationConfigOrBuilder
 Configuration details used for calculating evaluation metrics and creating an
 [Evaluation][google.cloud.datalabeling.v1beta1.Evaluation].
 
Protobuf type google.cloud.datalabeling.v1beta1.EvaluationConfig
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<EvaluationConfig.Builder>
    • clear

      public EvaluationConfig.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<EvaluationConfig.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<EvaluationConfig.Builder>
    • getDefaultInstanceForType

      public EvaluationConfig getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public EvaluationConfig build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public EvaluationConfig buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public EvaluationConfig.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<EvaluationConfig.Builder>
    • mergeFrom

      public EvaluationConfig.Builder mergeFrom(EvaluationConfig other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<EvaluationConfig.Builder>
    • mergeFrom

      public EvaluationConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<EvaluationConfig.Builder>
      Throws:
      IOException
    • getVerticalOptionCase

      public EvaluationConfig.VerticalOptionCase getVerticalOptionCase()
      Specified by:
      getVerticalOptionCase in interface EvaluationConfigOrBuilder
    • clearVerticalOption

      public EvaluationConfig.Builder clearVerticalOption()
    • hasBoundingBoxEvaluationOptions

      public boolean hasBoundingBoxEvaluationOptions()
       Only specify this field if the related model performs image object
       detection (`IMAGE_BOUNDING_BOX_ANNOTATION`). Describes how to evaluate
       bounding boxes.
       
      .google.cloud.datalabeling.v1beta1.BoundingBoxEvaluationOptions bounding_box_evaluation_options = 1;
      Specified by:
      hasBoundingBoxEvaluationOptions in interface EvaluationConfigOrBuilder
      Returns:
      Whether the boundingBoxEvaluationOptions field is set.
    • getBoundingBoxEvaluationOptions

      public BoundingBoxEvaluationOptions getBoundingBoxEvaluationOptions()
       Only specify this field if the related model performs image object
       detection (`IMAGE_BOUNDING_BOX_ANNOTATION`). Describes how to evaluate
       bounding boxes.
       
      .google.cloud.datalabeling.v1beta1.BoundingBoxEvaluationOptions bounding_box_evaluation_options = 1;
      Specified by:
      getBoundingBoxEvaluationOptions in interface EvaluationConfigOrBuilder
      Returns:
      The boundingBoxEvaluationOptions.
    • setBoundingBoxEvaluationOptions

      public EvaluationConfig.Builder setBoundingBoxEvaluationOptions(BoundingBoxEvaluationOptions value)
       Only specify this field if the related model performs image object
       detection (`IMAGE_BOUNDING_BOX_ANNOTATION`). Describes how to evaluate
       bounding boxes.
       
      .google.cloud.datalabeling.v1beta1.BoundingBoxEvaluationOptions bounding_box_evaluation_options = 1;
    • setBoundingBoxEvaluationOptions

      public EvaluationConfig.Builder setBoundingBoxEvaluationOptions(BoundingBoxEvaluationOptions.Builder builderForValue)
       Only specify this field if the related model performs image object
       detection (`IMAGE_BOUNDING_BOX_ANNOTATION`). Describes how to evaluate
       bounding boxes.
       
      .google.cloud.datalabeling.v1beta1.BoundingBoxEvaluationOptions bounding_box_evaluation_options = 1;
    • mergeBoundingBoxEvaluationOptions

      public EvaluationConfig.Builder mergeBoundingBoxEvaluationOptions(BoundingBoxEvaluationOptions value)
       Only specify this field if the related model performs image object
       detection (`IMAGE_BOUNDING_BOX_ANNOTATION`). Describes how to evaluate
       bounding boxes.
       
      .google.cloud.datalabeling.v1beta1.BoundingBoxEvaluationOptions bounding_box_evaluation_options = 1;
    • clearBoundingBoxEvaluationOptions

      public EvaluationConfig.Builder clearBoundingBoxEvaluationOptions()
       Only specify this field if the related model performs image object
       detection (`IMAGE_BOUNDING_BOX_ANNOTATION`). Describes how to evaluate
       bounding boxes.
       
      .google.cloud.datalabeling.v1beta1.BoundingBoxEvaluationOptions bounding_box_evaluation_options = 1;
    • getBoundingBoxEvaluationOptionsBuilder

      public BoundingBoxEvaluationOptions.Builder getBoundingBoxEvaluationOptionsBuilder()
       Only specify this field if the related model performs image object
       detection (`IMAGE_BOUNDING_BOX_ANNOTATION`). Describes how to evaluate
       bounding boxes.
       
      .google.cloud.datalabeling.v1beta1.BoundingBoxEvaluationOptions bounding_box_evaluation_options = 1;
    • getBoundingBoxEvaluationOptionsOrBuilder

      public BoundingBoxEvaluationOptionsOrBuilder getBoundingBoxEvaluationOptionsOrBuilder()
       Only specify this field if the related model performs image object
       detection (`IMAGE_BOUNDING_BOX_ANNOTATION`). Describes how to evaluate
       bounding boxes.
       
      .google.cloud.datalabeling.v1beta1.BoundingBoxEvaluationOptions bounding_box_evaluation_options = 1;
      Specified by:
      getBoundingBoxEvaluationOptionsOrBuilder in interface EvaluationConfigOrBuilder