@java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
      if (((bitField0_ & 0x00000001) != 0)) {
        output.writeMessage(1, getBucketStart());
      }
      if (((bitField0_ & 0x00000002) != 0)) {
        output.writeMessage(2, getBucketGranularity());
      }
      if (bucketCount_ != 0) {
        output.writeInt32(3, bucketCount_);
      }
      getUnknownFields().writeTo(output);
    }
<pre>
Total number of buckets.
</pre>

<code>int32 bucket_count = 3;</code>

@return The bucketCount.
java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/FacetProperty.java