public Builder setBucketTypeValue(int value) {
      bucketType_ = value;
      bitField0_ |= 0x00000040;
      onChanged();
      return this;
    }
<pre>
Facet bucket type e.g. value, range.
</pre>

<code>.google.cloud.visionai.v1.FacetBucketType bucket_type = 4;</code>

@param value The enum numeric value on the wire for bucketType to set.
@return This builder for chaining.
java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/FacetProperty.java