public java.lang.String getPreset() {
        java.lang.Object ref = preset_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          preset_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
<pre>
Enforces the specified codec preset. The default is `veryfast`. The
available options are
[FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.265).
Note that certain values for this field may cause the
transcoder to override other fields you set in the `H265CodecSettings`
message.
</pre>

<code>string preset = 19;</code>

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