public com.google.cloud.datalabeling.v1beta1.SegmentationConfig getSegmentationConfig() {
    if (requestConfigCase_ == 7) {
      return (com.google.cloud.datalabeling.v1beta1.SegmentationConfig) requestConfig_;
    }
    return com.google.cloud.datalabeling.v1beta1.SegmentationConfig.getDefaultInstance();
  }
public com . google . cloud . datalabeling . v1beta1 . SegmentationConfig getSegmentationConfig ( ) { if ( requestConfigCase_ == 7 ) { return ( com . google . cloud . datalabeling . v1beta1 . SegmentationConfig ) requestConfig_ ; } return com . google . cloud . datalabeling . v1beta1 . SegmentationConfig . getDefaultInstance ( ) ; }
<pre>
Configuration for segmentation task.
One of image_classification_config, bounding_poly_config,
polyline_config and segmentation_config is required.
</pre>

<code>.google.cloud.datalabeling.v1beta1.SegmentationConfig segmentation_config = 7;</code>