@java.lang.Override
  public com.google.protobuf.ByteString getContentEncodingBytes() {
    java.lang.Object ref = contentEncoding_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b =
          com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
      contentEncoding_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }
<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 The bytes for contentEncoding.
java-storagebatchoperations/proto-google-cloud-storagebatchoperations-v1/src/main/java/com/google/cloud/storagebatchoperations/v1/PutMetadata.java