@java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
        return true;
      }
      if (!(obj instanceof com.google.cloud.video.transcoder.v1.VideoStream.Vp9CodecSettings)) {
        return super.equals(obj);
      }
      com.google.cloud.video.transcoder.v1.VideoStream.Vp9CodecSettings other =
          (com.google.cloud.video.transcoder.v1.VideoStream.Vp9CodecSettings) obj;

      if (getWidthPixels() != other.getWidthPixels()) return false;
      if (getHeightPixels() != other.getHeightPixels()) return false;
      if (java.lang.Double.doubleToLongBits(getFrameRate())
          != java.lang.Double.doubleToLongBits(other.getFrameRate())) return false;
      if (getBitrateBps() != other.getBitrateBps()) return false;
      if (!getPixelFormat().equals(other.getPixelFormat())) return false;
      if (!getRateControlMode().equals(other.getRateControlMode())) return false;
      if (getCrfLevel() != other.getCrfLevel()) return false;
      if (!getProfile().equals(other.getProfile())) return false;
      if (!getGopModeCase().equals(other.getGopModeCase())) return false;
      switch (gopModeCase_) {
        case 8:
          if (getGopFrameCount() != other.getGopFrameCount()) return false;
          break;
        case 9:
          if (!getGopDuration().equals(other.getGopDuration())) return false;
          break;
        case 0:
        default:
      }
      if (!getUnknownFields().equals(other.getUnknownFields())) return false;
      return true;
    }
<pre>
Enforces the specified codec profile. The following profiles are
supported:

*   `profile0` (default)
*   `profile1`
*   `profile2`
*   `profile3`

The available options are
[WebM-compatible](https://www.webmproject.org/vp9/profiles/).
Note that certain values for this field may cause the
transcoder to override other fields you set in the `Vp9CodecSettings`
message.
</pre>

<code>string profile = 10;</code>

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