@java.lang.Override
  public int hashCode() {
    if (memoizedHashCode != 0) {
      return memoizedHashCode;
    }
    int hash = 41;
    hash = (19 * hash) + getDescriptor().hashCode();
    hash = (37 * hash) + NAME_FIELD_NUMBER;
    hash = (53 * hash) + getName().hashCode();
    hash = (37 * hash) + HOSTNAME_FIELD_NUMBER;
    hash = (53 * hash) + getHostname().hashCode();
    switch (cdnKeyConfigCase_) {
      case 5:
        hash = (37 * hash) + GOOGLE_CDN_KEY_FIELD_NUMBER;
        hash = (53 * hash) + getGoogleCdnKey().hashCode();
        break;
      case 6:
        hash = (37 * hash) + AKAMAI_CDN_KEY_FIELD_NUMBER;
        hash = (53 * hash) + getAkamaiCdnKey().hashCode();
        break;
      case 8:
        hash = (37 * hash) + MEDIA_CDN_KEY_FIELD_NUMBER;
        hash = (53 * hash) + getMediaCdnKey().hashCode();
        break;
      case 0:
      default:
    }
    hash = (29 * hash) + getUnknownFields().hashCode();
    memoizedHashCode = hash;
    return hash;
  }
<pre>
The hostname this key applies to.
</pre>

<code>string hostname = 4;</code>

@return The bytes for hostname.
java-video-stitcher/proto-google-cloud-video-stitcher-v1/src/main/java/com/google/cloud/video/stitcher/v1/CdnKey.java