private void buildPartialOneofs(com.google.cloud.visionai.v1.FacetBucket result) {
      result.bucketValueCase_ = bucketValueCase_;
      result.bucketValue_ = this.bucketValue_;
      if (bucketValueCase_ == 2 && valueBuilder_ != null) {
        result.bucketValue_ = valueBuilder_.build();
      }
      if (bucketValueCase_ == 4 && rangeBuilder_ != null) {
        result.bucketValue_ = rangeBuilder_.build();
      }
    }
<pre>
Holds the facet value, selections state, and metadata.
</pre>

Protobuf type {@code google.cloud.visionai.v1.FacetBucket}
java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/FacetBucket.java