@java.lang.Override
    public com.google.protobuf.ByteString getPixelFormatBytes() {
      java.lang.Object ref = pixelFormat_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b =
            com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
        pixelFormat_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
<pre>
Pixel format to use. The default is `yuv420p`.

Supported pixel formats:

- `yuv420p` pixel format
- `yuv422p` pixel format
- `yuv444p` pixel format
- `yuv420p10` 10-bit HDR pixel format
- `yuv422p10` 10-bit HDR pixel format
- `yuv444p10` 10-bit HDR pixel format
- `yuv420p12` 12-bit HDR pixel format
- `yuv422p12` 12-bit HDR pixel format
- `yuv444p12` 12-bit HDR pixel format
</pre>

<code>string pixel_format = 5;</code>

@return The bytes for pixelFormat.
java-video-transcoder/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/VideoStream.java