Bump protobuf-java from 3.17.3 to 3.18.0
Bump protobuf-java from 3.17.3 to 3.18.0

Bumps [protobuf-java](https://github.com/protocolbuffers/protobuf) from 3.17.3 to 3.18.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/protocolbuffers/protobuf/releases">protobuf-java's releases</a>.</em></p>
<blockquote>
<h2>Protocol Buffers v3.18.0</h2>
<h1>C++</h1>
<ul>
<li>Fix warnings raised by clang 11 (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8664">#8664</a>)</li>
<li>Make StringPiece constructible from std::string_view (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8707">#8707</a>)</li>
<li>Add missing capability attributes for LLVM 12 (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8714">#8714</a>)</li>
<li>Stop using std::iterator (deprecated in C++17). (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8741">#8741</a>)</li>
<li>Move field_access_listener from libprotobuf-lite to libprotobuf (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8775">#8775</a>)</li>
<li>Fix <a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/7047">#7047</a> Safely handle setlocale (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8735">#8735</a>)</li>
<li>Remove deprecated version of SetTotalBytesLimit() (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8794">#8794</a>)</li>
<li>Support arena allocation of google::protobuf::AnyMetadata (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8758">#8758</a>)</li>
<li>Fix undefined symbol error around SharedCtor() (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8827">#8827</a>)</li>
<li>Fix default value of enum(int) in json_util with proto2 (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8835">#8835</a>)</li>
<li>Better Smaller ByteSizeLong</li>
<li>Introduce event filters for inject_field_listener_events</li>
<li>Reduce memory usage of DescriptorPool</li>
<li>For lazy fields copy serialized form when allowed.</li>
<li>Re-introduce the InlinedStringField class</li>
<li>v2 access listener</li>
<li>Reduce padding in the proto's ExtensionRegistry map.</li>
<li>GetExtension performance optimizations</li>
<li>Make tracker a static variable rather than call static functions</li>
<li>Support extensions in field access listener</li>
<li>Annotate MergeFrom for field access listener</li>
<li>Fix incomplete types for field access listener</li>
<li>Add map_entry/new_map_entry to SpecificField in MessageDifferencer. They
record the map items which are different in MessageDifferencer's reporter.</li>
<li>Reduce binary size due to fieldless proto messages</li>
<li>TextFormat: ParseInfoTree supports getting field end location in addition to
start.</li>
<li>Fix repeated enum extension size in field listener</li>
<li>Enable Any Text Expansion for Descriptors::DebugString()</li>
<li>Switch from int{8,16,32,64} to int{8,16,32,64}_t</li>
</ul>
<h1>Java</h1>
<ul>
<li>Fix errorprone conflict (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8723">#8723</a>)</li>
<li>Removing deprecated TimeUtil class. (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8749">#8749</a>)</li>
<li>Optimized FieldDescriptor.valueOf() to avoid array copying.</li>
<li>Removing deprecated TimeUtil class.</li>
<li>Add Durations.parseUnchecked(String) and Timestamps.parseUnchecked(String)</li>
<li>FieldMaskUtil: Add convenience method to mask the fields out of a given proto.</li>
</ul>
<h1>JavaScript</h1>
<ul>
<li>Optimize binary parsing of repeated float64</li>
<li>Fix for optimization when reading doubles from binary wire format</li>
<li>Replace toArray implementation with toJSON.</li>
</ul>
<h1>PHP</h1>
<ul>
<li>Migrate PHP &amp; Ruby to ABSL wyhash (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8854">#8854</a>)</li>
<li>Added support for PHP 8.1 (currently in RC1) to the C extension (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8964">#8964</a>)</li>
<li>Fixed PHP SEGV when constructing messages from a destructor. (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8969">#8969</a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/protocolbuffers/protobuf/commit/89b14b1d16eba4d44af43256fc45b24a6a348557"><code>89b14b1</code></a> Update change log (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8974">#8974</a>)</li>
<li><a href="https://github.com/protocolbuffers/protobuf/commit/12fb2b7450e38bf14d5dce5c97de37120f1f8559"><code>12fb2b7</code></a> Update protobuf version (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8973">#8973</a>)</li>
<li><a href="https://github.com/protocolbuffers/protobuf/commit/ac02d6cbaa444949ce9a8c317fbba915cef407a6"><code>ac02d6c</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8970">#8970</a> from haberman/ruby-repeated-plus-arena</li>
<li><a href="https://github.com/protocolbuffers/protobuf/commit/39dc8ad11f55f5923b23e933b3fb4282c080bef0"><code>39dc8ad</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8969">#8969</a> from haberman/php-destructor2</li>
<li><a href="https://github.com/protocolbuffers/protobuf/commit/26e0ee8eecf79f787ecf7bac20cc753ce48b8c32"><code>26e0ee8</code></a> Fixed multirequest.sh script for when nohup.out does not exist.</li>
<li><a href="https://github.com/protocolbuffers/protobuf/commit/66a3e1a67061ad2bd56e305267a2fc5294f90a95"><code>66a3e1a</code></a> Added missing file to EXTRA_DIST.</li>
<li><a href="https://github.com/protocolbuffers/protobuf/commit/79ac88bbbbfe306365b651feaa91a832f8adc06e"><code>79ac88b</code></a> Fixed a memory bug with RepeatedField#+.</li>
<li><a href="https://github.com/protocolbuffers/protobuf/commit/759a53973690140d0dfae614b6bd190dcbad787f"><code>759a539</code></a> Fixed PHP SEGV when constructing messages from a destructor.</li>
<li><a href="https://github.com/protocolbuffers/protobuf/commit/605ab956e00b8d8d354f0ac0c248a570a2e821ba"><code>605ab95</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8964">#8964</a> from haberman/php-8.1</li>
<li><a href="https://github.com/protocolbuffers/protobuf/commit/44df0abc02289ea8dfb6e060208e7f758b743cff"><code>44df0ab</code></a> Added support for PHP 8.1 (currently in RC1).</li>
<li>Additional commits viewable in <a href="https://github.com/protocolbuffers/protobuf/compare/v3.17.3...v3.18.0">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.google.protobuf:protobuf-java&package-manager=maven&previous-version=3.17.3&new-version=3.18.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

</details>

Fixes #913

COPYBARA_INTEGRATE_REVIEW=https://github.com/google/truth/pull/913 from google:dependabot/maven/com.google.protobuf-protobuf-java-3.18.0 a842066d0f74409ee657c07119f078f34e935d64
PiperOrigin-RevId: 397055432

google/truth,google/truth,google/truth