public Builder mergeFrom(com.google.cloud.visionai.v1.FacetBucket other) {
      if (other == com.google.cloud.visionai.v1.FacetBucket.getDefaultInstance()) return this;
      if (other.getSelected() != false) {
        setSelected(other.getSelected());
      }
      switch (other.getBucketValueCase()) {
        case VALUE:
          {
            mergeValue(other.getValue());
            break;
          }
        case RANGE:
          {
            mergeRange(other.getRange());
            break;
          }
        case BUCKETVALUE_NOT_SET:
          {
            break;
          }
      }
      this.mergeUnknownFields(other.getUnknownFields());
      onChanged();
      return this;
    }
<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