public Builder setResultSize(long value) {

      resultSize_ = value;
      bitField0_ |= 0x00000020;
      onChanged();
      return this;
    }
<pre>
Maximum number of unique bucket to return for one facet. Bucket number can
be large for high-cardinality facet such as "player". We only return top-n
most related ones to user. If it's &lt;= 0, the server will decide the
appropriate result_size.
</pre>

<code>int64 result_size = 3;</code>

@param value The resultSize to set.
@return This builder for chaining.
java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/FacetProperty.java