public override int GetHashCode() { int hash = 1; if (Name.Length != 0) { hash ^= Name.GetHashCode(); } if (address_ != null) { hash ^= Address.GetHashCode(); } hash ^= filterChains_.GetHashCode(); if (useOriginalDst_ != null) { hash ^= UseOriginalDst.GetHashCode(); } if (perConnectionBufferLimitBytes_ != null) { hash ^= PerConnectionBufferLimitBytes.GetHashCode(); } if (metadata_ != null) { hash ^= Metadata.GetHashCode(); } if (deprecatedV1_ != null) { hash ^= DeprecatedV1.GetHashCode(); } if (DrainType != 0) { hash ^= DrainType.GetHashCode(); } hash ^= listenerFilters_.GetHashCode(); if (transparent_ != null) { hash ^= Transparent.GetHashCode(); } if (freebind_ != null) { hash ^= Freebind.GetHashCode(); } if (tcpFastOpenQueueLength_ != null) { hash ^= TcpFastOpenQueueLength.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }