@java.lang.Override
  public boolean hasContentEncoding() {
    return ((bitField0_ & 0x00000002) != 0);
  }
<pre>
Optional. Updates objects Content-Encoding fixed metadata. Unset values
will be ignored. Set empty values to clear the metadata. Refer to
documentation in
https://cloud.google.com/storage/docs/metadata#content-encoding.
</pre>

<code>optional string content_encoding = 2 [(.google.api.field_behavior) = OPTIONAL];</code>

@return Whether the contentEncoding field is set.
java-storagebatchoperations/proto-google-cloud-storagebatchoperations-v1/src/main/java/com/google/cloud/storagebatchoperations/v1/PutMetadata.java