public Builder setTotalPages(long value) {

      totalPages_ = value;
      bitField0_ |= 0x00000001;
      onChanged();
      return this;
    }
<pre>
Total number of pages to translate in all documents. Documents without
clear page definition (such as XLSX) are not counted.
</pre>

<code>int64 total_pages = 1;</code>

@param value The totalPages to set.
@return This builder for chaining.
java-translate/proto-google-cloud-translate-v3/src/main/java/com/google/cloud/translate/v3/BatchTranslateDocumentResponse.java