@java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      hash = (37 * hash) + WIDTH_PIXELS_FIELD_NUMBER;
      hash = (53 * hash) + getWidthPixels();
      hash = (37 * hash) + HEIGHT_PIXELS_FIELD_NUMBER;
      hash = (53 * hash) + getHeightPixels();
      hash = (37 * hash) + FRAME_RATE_FIELD_NUMBER;
      hash =
          (53 * hash)
              + com.google.protobuf.Internal.hashLong(
                  java.lang.Double.doubleToLongBits(getFrameRate()));
      hash = (37 * hash) + BITRATE_BPS_FIELD_NUMBER;
      hash = (53 * hash) + getBitrateBps();
      hash = (37 * hash) + PIXEL_FORMAT_FIELD_NUMBER;
      hash = (53 * hash) + getPixelFormat().hashCode();
      hash = (37 * hash) + RATE_CONTROL_MODE_FIELD_NUMBER;
      hash = (53 * hash) + getRateControlMode().hashCode();
      hash = (37 * hash) + CRF_LEVEL_FIELD_NUMBER;
      hash = (53 * hash) + getCrfLevel();
      hash = (37 * hash) + ALLOW_OPEN_GOP_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowOpenGop());
      hash = (37 * hash) + ENABLE_TWO_PASS_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableTwoPass());
      hash = (37 * hash) + VBV_SIZE_BITS_FIELD_NUMBER;
      hash = (53 * hash) + getVbvSizeBits();
      hash = (37 * hash) + VBV_FULLNESS_BITS_FIELD_NUMBER;
      hash = (53 * hash) + getVbvFullnessBits();
      hash = (37 * hash) + ENTROPY_CODER_FIELD_NUMBER;
      hash = (53 * hash) + getEntropyCoder().hashCode();
      hash = (37 * hash) + B_PYRAMID_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getBPyramid());
      hash = (37 * hash) + B_FRAME_COUNT_FIELD_NUMBER;
      hash = (53 * hash) + getBFrameCount();
      hash = (37 * hash) + AQ_STRENGTH_FIELD_NUMBER;
      hash =
          (53 * hash)
              + com.google.protobuf.Internal.hashLong(
                  java.lang.Double.doubleToLongBits(getAqStrength()));
      hash = (37 * hash) + PROFILE_FIELD_NUMBER;
      hash = (53 * hash) + getProfile().hashCode();
      hash = (37 * hash) + TUNE_FIELD_NUMBER;
      hash = (53 * hash) + getTune().hashCode();
      hash = (37 * hash) + PRESET_FIELD_NUMBER;
      hash = (53 * hash) + getPreset().hashCode();
      switch (gopModeCase_) {
        case 9:
          hash = (37 * hash) + GOP_FRAME_COUNT_FIELD_NUMBER;
          hash = (53 * hash) + getGopFrameCount();
          break;
        case 10:
          hash = (37 * hash) + GOP_DURATION_FIELD_NUMBER;
          hash = (53 * hash) + getGopDuration().hashCode();
          break;
        case 0:
        default:
      }
      hash = (29 * hash) + getUnknownFields().hashCode();
      memoizedHashCode = hash;
      return hash;
    }
<pre>
Enforces the specified codec preset. The default is `veryfast`. The
available options are
[FFmpeg-compatible](https://trac.ffmpeg.org/wiki/Encode/H.264#Preset).
Note that certain values for this field may cause the
transcoder to override other fields you set in the `H264CodecSettings`
message.
</pre>

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

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